How do I get the following code to work ?
<INPUT TYPE="radio" NAME="ID" VALUE="1">Option 1
<INPUT TYPE="radio" NAME="ID" VALUE="2">Option 2
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b1" VALUE="1"></FORM>
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b2" VALUE="2"></FORM>
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b3" VALUE="3"></FORM>
What happens is when the user clicks one of the submit buttons, it only sends the value of that button. I need it to also send the value of whatever radio button is clicked. I need to have the buttons set in different Forms as they are going to have different actions. I have tried "grouping" the forms with another form, but no joy !
I need to try and do this without using JS.
Cheers.
<INPUT TYPE="radio" NAME="ID" VALUE="1">Option 1
<INPUT TYPE="radio" NAME="ID" VALUE="2">Option 2
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b1" VALUE="1"></FORM>
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b2" VALUE="2"></FORM>
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b3" VALUE="3"></FORM>
What happens is when the user clicks one of the submit buttons, it only sends the value of that button. I need it to also send the value of whatever radio button is clicked. I need to have the buttons set in different Forms as they are going to have different actions. I have tried "grouping" the forms with another form, but no joy !
I need to try and do this without using JS.
Cheers.