aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Multiple Forms and Radio Buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple Forms and Radio Buttons" Watch "Multiple Forms and Radio Buttons" New topic
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: 61437
    
  67

Make it all one form.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Forms and Radio Buttons