My form has two buttons and I want to post which button was pressed. Using the form below, my ASP response can reflect either "1" or "2".
However, instead of type="submit" I'm supposed to be using type="image". When I switch to images, I no longer can capture the 'value' value.
<form name="form3" method="post" action="ResponsePage.asp">
<input type="submit" NAME="Button1" VALUE="1">
<br>
<input type="submit" NAME="Button2" VALUE="2">
<br>
</form>
However, instead of type="submit" I'm supposed to be using type="image". When I switch to images, I no longer can capture the 'value' value.
<form name="form3" method="post" action="ResponsePage.asp">
<input type="submit" NAME="Button1" VALUE="1">
<br>
<input type="submit" NAME="Button2" VALUE="2">
<br>
</form>