Share
Form Override Attributes
The form override attributes allow you to override some of the attributes set for the form element.
The form override attributes are:
- formaction - Overrides the form action attribute
- formenctype - Overrides the form enctype attribute
- formmethod - Overrides the form method attribute
- formnovalidate - Overrides the form novalidate attribute
- formtarget - Overrides the form target attribute
Note: The form override attributes works with the following <input> types: submit and image.
<form action="demo_form.asp" method="get" id="user_form">
E-mail: <input type="email" name="userid" />
<input type="submit" value="Submit" />
<input type="submit" formaction="demo_admin.asp" value="Submit as admin" />
<input type="submit" formnovalidate="true" value="Submit without validation" />
</form>
Note: These attributes are helpful for creating different submit buttons.