Link to home
Start Free TrialLog in
Avatar of bmw040
bmw040Flag for United States of America

asked on

Dynamic Redirect

I am trying to create a form that uses a dynamic type of redirect. I was hoping for a php or javascript solution (if it even exists)

For example:

I will have two radio buttons (one is YES and the second one is NO). I will also have a submit button labeled NEXT.

If YES is pressed and the Next Button is selected the user would go to Page 1.

If NO is pressed and the Next Button is selected the user would go to Page 2.

Thanks in advance experts
SOLUTION
Avatar of Xemorph
Xemorph
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, one error in my code.  add the name attribute to both radio buttons.  Make them the same.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bmw040

ASKER

Thanks for the solution!