I'm currently desiging an online ordering system for a restaurant.
My question is in regards to the post function.
I want to use two radio group to post and want to know if one button can send it two post actions
the sample code is as follows
Code: Select all
</head>
<body>
<form name="form1" method="post" action="first post action">
<p>
<label>
<input type="radio" name="RadioGroup1" value="radio">
Radio</label>
<br>
<label>
<input type="radio" name="RadioGroup1" value="radio">
Radio</label>
<br>
<label>
<input type="radio" name="RadioGroup1" value="radio">
Radio</label>
<br>
<label>
<input type="radio" name="RadioGroup1" value="radio">
Radio</label>
<br>
<input type="submit" name="Submit" value="Submit">
<label> </label>
</p>
<p>
<label> </label>
</p>
</form>
<p> </p>
<form name="form2" method="post" action="secondpost">
<p>
<label></label>
<label>
<input type="radio" name="RadioGroup2" value="radio">
Radio</label>
<br>
<label>
<input type="radio" name="RadioGroup2" value="radio">
Radio</label>
<br>
<label>
<input type="radio" name="RadioGroup2" value="radio">
Radio</label>
<br>
</p>
</form>
<p> </p>
</body>
</html>Would i have to take the button out of the form to execute it for both
Shab