Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

radio buttons won't work if form has been submitted

Status
Not open for further replies.

BlastRadius

Programmer
Nov 13, 2001
38
CA
I have just started integrating the flash with asp scripts and am loving the fact that it is getting me to try to do new things. So with one of my forms I decided to create some radio buttons. Here's what I have done. I created two radio buttons movie clips(one with the first frame in the hit position the other with the first frame in the off position) Each radio button has an invisible button within it. And both clips were given instance names. The click events on the invisible buttons when they are in the off position will move both radio button movie clips to either the first frame or the second frame depending on the button clicked and sets the varible to the correct value. So the radio buttons work great, go to any other part of the site and they still work great, submit the form with valid information and form works like a charm. So what's the problem you ask? Well if the form has invalid info when you return to the form clicking on the radio button now only moves the one timeline and you get both radio buttons stuck in the on position. The same happens if you enter a valid submission and try to fill out the form a new. I sure there is some little thing I am missing. I would love any help or idea's as to how to solve this problem.
 
hi Blast,

seems like it may well be that your checking a variable 'echo' from asp which isn't being returned or a variable check is not happening.

Can you post a link to the fla or email it to me zipped to the address below for closer inspection?

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
blast,

i had the same problem when i first used flash. what i did was declare a session variable in the asp page wer u submit the form. the session variable contain the choice the user made in the form. when the flash form loads make it load variables from a certain asp that write the session variable in a query string for the flash movie to read.

should u need more help, email me the fla and the asp page to jeff@a2zglobe.com. im sure i can squeeze u ahead of my projects.


i hope i was of big help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top