I have an outer form that once submitted will, send the user to the next step. The inner form is submitting search requests for a table that is nested in the outer form. At the moment my solution is not triggering either of the two forms.
<form id="outerForm" onsubmit="submitOuter()">
<form id="innerForm" onsubmit="submitInner()">
<button type="submit" form="innerForm">Search</button>
</form>
<button type="submit" form="outerForm">Next Step</button>
</form>
PS my example is obviously not using AngularJS, the difference is that my forms have data-ng-submit
.