| Author |
Multiple Forms and Radio Buttons
|
Ranganath .S.Junpal
Ranch Hand
Joined: Jan 16, 2005
Posts: 52
|
|
Hi all, i am designin a Quiz s/w whre in Questions are laid out in form of a Question paper. My problem is that for every questions and 4 options i have a Form. At the end i have one submit Button.once i submit i wanna know which radio button is checked in the various form and all forms should get submitted.. The code is some thing like this.. <html> <form name="one" action="me.jsp" method="post"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> </form> <form name="one" action="me.jsp" method="post"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> </form> <form name="one" action="me.jsp" method="post"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> </form> <form name="one" action="me.jsp" method="post"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> <input type="radio" name="options" value="some thing"> </form> <input type="submit" value="submit"> </html> Thank you Regards
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56233
|
|
|
Make it all one form.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Multiple Forms and Radio Buttons
|
|
|