Horje

How to add An HTML form with two submit buttons, with different actions

Input Example.

index.html
Example: HTML
 <form action="/action_page.php">
  First name: <input type="text" name="fname"><br>
  Last name: <input type="text" name="lname"><br>
  <input type="submit" value="Submit"><br>
  <input type="submit" formaction="/action_page2.php" value="Submit to another page">
</form> 

Output should be:

How to add An HTML form with two submit buttons, with different actions




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin