AllExperts > Experts 
Search      

Shockwave Flash

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Shockwave Flash Answers
Question Library

Ask a question about Shockwave Flash
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Mike Dixon
Expertise
I can answer most flash related questions. I am not at this time expert using action script 3.

Experience
Using flash since version 4. currently web director.

Education/Credentials
certified ;)

 
   

You are here:  Experts > Computing/Technology > Web Design > Shockwave Flash > input text box

Topic: Shockwave Flash



Expert: Mike Dixon
Date: 6/18/2008
Subject: input text box

Question
i was wondering how you can clear a input text box after you submit say a contact form?
when i enter text into textboxes and click on 'submit' and then click on the 'back' button, it displays the contact form with all the information i had entered still in the input text box?

thanks

Answer
inside the function that submits the form set all  to text = ""; this will place an empty string into the  textboxes, so it clears them. So you would have

function submit_form(){

text1.text = "";
text2.text ="";


ect




hope this helps.


~ mike.dixon

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.