We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Dynamic Redirect

Medium Priority
376 Views
Last Modified: 2013-12-13
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
Comment
Watch Question

Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Commented:
Sorry, one error in my code.  add the name attribute to both radio buttons.  Make them the same.
Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thanks for the solution!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.