PDA

View Full Version : Clear Input Box


Wellswood
02-17-2008, 11:14 AM
I have created a page that includes input boxes to gather Name, address, email and telephone. I click a submit button and the information is written to a text file. The information remains in the input boxes. I want to have a clear button that can be clicked to remove these entries ready for the next user. Is this possible is AutoPlay?:huh

longedge
02-17-2008, 11:26 AM
In the button that collects the input text, at the end of your code just use -

Input.SetText("Input1", "");

Wellswood
02-17-2008, 02:31 PM
Thanks once again.