I have a page that has two radio buttons and a next page button that is a graphic, what is the best way to look at which radio button is selected and forward to a associated page. Meaning if radio button a is selected goto pageA.php or if radio button b is selected goto pageB.php.
Any Suggestions???
You can either have a javascript function set your form action based on which radio button is selected
or
have an interim page that interprets the radio buttons and redirects to the proper page
for javascript
you can try
<input name="radiobutton" type="radio" value="radiobutton" onclick="javascript:location.replace('http://www.yahoo.com')">first button <br> <input name="radiobutton" type="radio" value="radiobutton" onclick="javascript:location.replace('http://www.google.com')">second button <br>
I went ahead and made a interim page and it works perfect. Thanks for the help.