This example contains a form with two submit buttons. The first submit button submits the form data to "/action_page.php", and the second submits to "/action_page2.php":
If you click on the submit buttons above, notice that the formaction attribute overrides the HTML form's action attribute.
Click the "Try it" button to return the value of the formaction attribute of the second submit button above.