HTML One Form Two Buttons
<form action="/action_page.php" method="get">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<button type="submit">Submit to mainform action</button><br>
<button type="submit" formaction="/form2.php">Submit to another page</button>
</form>
Comments
Post a Comment