An HTML form with two submit buttons, with different actions:
![]()
The formaction attribute is supported in Internet Explorer 10, Firefox, Opera, Chrome, and Safari.
Note: The formaction attribute of the <input> tag is not supported in Internet Explorer 9 and earlier versions.
The formaction attribute specifies the URL of the file that will process the input control when the form is submitted.
The formaction attribute overrides the action attribute of the <form> element.
Note: The formaction attribute is used with type="submit" and type="image".
The formaction attribute is new in HTML5.
| Value | Description |
|---|---|
| URL | Specifies the URL of the file that will process the input control when the form is submitted. Possible values:
|
HTML <input> tag
Your message has been sent to W3Schools.