code to direct users to different pages based on radio selection

  • Thread starter greg.southerland
  • Start date
G

greg.southerland

How would I direct users to a different page based on which radio
button they select in a form? Thanks for any help you can provide.

Greg
 
R

Randy Webb

(e-mail address removed) said the following on 8/3/2006 11:06 AM:
How would I direct users to a different page based on which radio
button they select in a form? Thanks for any help you can provide.

<input type="radio" value="http://www.google.com" name="destination">Google
<input type="radio" value="http://www.microsoft.com" name="destination">MS
<input type="radio" value="http://www.yahoo.com" name="destination">Yahoo

Submit the form, then have the server read the value of "destination"
and issue a redirect header.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top