issue with multiple forms in an html page
Posted on 2005-03-10
I have an HTML page that contains 2 forms. Here is a simplified representation of what the form structure looks like:
<form name="formA" action=./formA.jsp method="get">
<input type="Submit" name="InputFormA" value="SubmitA">
<form name="formB" action=./formB.jsp method="get">
<input type="Submit" name="InputFormB" value="SubmitB">
The problem I'm having is that when the button in Form B is clicked, a submit request is sent to formA.jsp. If I comment out the code for form A, then the form B button correctly submits to formB.jsp. I'm going to try to upload the actual code that is exhibiting the problem.