Computer Science, asked by kiran8224, 11 months ago

How can I use multiple submit buttons in an HTML form?

Answers

Answered by omegads04
0

<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</button><br>

 <button type="submit" formaction="/action_page2.php">Submit to another page</button>

</form>

Similar questions