Thread: Radio button
View Single Post
  #5  
Old 06-24-2008, 04:36 PM
navaldesign's Avatar
navaldesign navaldesign is offline
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Red face Re: Radio button

The only way to do that is with Javascript.
let me explain: the radio buttons, by themselves, and the button, need to be related, and the simplest way to do that is that they are all part of a form.
So your button should be a "Submit" one. You add, in the Inside Tag of the radio buttons html :

"onclick="changeaction()"



Now you should write this simple Javascript (changeaction) that will check the value of the radio buttons and will change the form action accordingly, to send to either page 1 or page 2.

If you look at the code of the Go Menu, you will get some ideas on how this function should be structured.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Reply With Quote