Help - Search - Members - Calendar
Full Version: Radio Button and Javascript or PHP help
HTMLHelp Forums > Programming > Client-side Scripting
dondaddadon
I need help with an online form's radio buttons used as input buttons with a submit button.

My form has three parts:
1) User enters zip code
2) User selects "yes" or "no"
3) User clicks submit

I need for when the user selects "no" and then clicks "submit" that the form re-directs to another url passing the zip code variable. It also has to make sure that when "yes" is selected and submitted that it passes the "zip code" and "yes" variable to another url.

If anyone can help there's $10 USD in it for you.
Darin McGrew
Please see the FAQ entry Can I have two or more actions in the same form?
dondaddadon
Thanks...

I also have another issue and that is in Firefox a user cannot select the "no" radio button and the "yes" button is pre-checked. In IE it works fine, you can select either "yes" or "no".

Do you have any idea what is wrong?
Darin McGrew
Can you provide the URL (address) of a document that demonstrates the problem?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.