|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Here's another question:
I've got two radio buttons; if the second button is selected, I'd like to skip to a different set of questions further down on the page. Is there a simple way to do this? Thanks for your help. |
|
#2
|
|||
|
|||
|
Not sure if this is what you want, but you can do something like this:
<form> <input type="radio">one option<br> <input type="radio" onClick='document.location.href="#question"'>other option (skips down)<br> <p> ... and further down in the form: <a name="question"> The question you want to skip to? Note: if this skips _exactly_ down to the question you want, is dependant on the length of the page. If there is not enough page after your question, it will just skip down so that your "next" question is on-screen but not necessarily on top. You could use the above technique to redirect to one of two "follow-up" pages. Success, Ton |
|
#3
|
|||
|
|||
|
Thanks -- that worked! (I was missing the # sign)
----------------------- <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by atarbaer: Here's another question: I've got two radio buttons; if the second button is selected, I'd like to skip to a different set of questions further down on the page. Is there a simple way to do this? Thanks for your help.[/quote] |
|
#4
|
|||
|
|||
|
Hello
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Skipping a question if a radio button is selected |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|