I have a form which has two buttons which serve to submit the form:
<FORM name="frmModify" action="register.asp" method="post" id="frmModify">
<INPUT type="image" name="imageField" src="one.gif" onClick="submit();">
<INPUT type="image" name="update" src="two.gif" onClick="submit();">
</FORM>
At the end of register.asp, I have a Response.Redirect back to this form. My question is this: What's the best way to get register.asp to return to the button that called it instead of just going to the top of the form? Seems to me each button will have a variable which is sent with the submit to be read by register.asp. I just don't know how to do it.
Thanks for your help.
~ Gary
<FORM name="frmModify" action="register.asp" method="post" id="frmModify">
<INPUT type="image" name="imageField" src="one.gif" onClick="submit();">
<INPUT type="image" name="update" src="two.gif" onClick="submit();">
</FORM>
At the end of register.asp, I have a Response.Redirect back to this form. My question is this: What's the best way to get register.asp to return to the button that called it instead of just going to the top of the form? Seems to me each button will have a variable which is sent with the submit to be read by register.asp. I just don't know how to do it.
Thanks for your help.
~ Gary