Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-06-2003, 05:53 PM   #1
parke
Registered User
 
Join Date: Jan 2003
Posts: 29
Default Clear a form

I have a form with comboboxes and textboxes. I want to be able to clear the form.

I'm using the is for the textboxes, but I don't know what to use for the comboboxes.
Name = "";
Contact = "";
Comments = ""

The first combobox is called 'question1' (Labels = ----------,Excellent, Good, Fair, Poor). When I clear the form I want it to go to the Label ----------.

What can
parke is offline   Reply With Quote
Old 01-06-2003, 05:57 PM   #2
khamstra
Registered User
 
Join Date: Jul 2001
Posts: 90
Default

look into something like the following

ActionScript Code:
question1.setSelectedIndex(0);

khamstra
khamstra is offline   Reply With Quote
Old 01-06-2003, 06:03 PM   #3
parke
Registered User
 
Join Date: Jan 2003
Posts: 29
Default

Thanks. That's what I wanted it to do.

Kelly
parke is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:29 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.