HTML <input> formnovalidate Attribute

The formnovalidate attribute on an <input> button of type submit specifies that no form validation occurs during form submission.

Example

#

A formnovalidate attribute on a submit button.
This button will not validate the form input.


<form action="/tutorial/action.html">
  <input name="email" placeholder="Enter your email" required><br/>

  <input type="submit" value="Submit with validation"/>
  <input type="submit" value="Submit without validation" 
         formnovalidate/>
</form>

Using formnovalidate

The formnovalidate attribute overrides the form's validation setting.

With this attribute enabled, none of the input elements will be validated, even when specified.

This attribute can only be used on <input> types submit or image.


Syntax

<input type="submit | image" formnovalidate>

Browser support

Here is when formnovalidate support started for each browser:

Chrome
1.0 Dec 2008
Firefox
1.0 Nov 2004
IE/Edge
10.0 Sep 2012
Opera
10.6 Oct 2010
Safari
5.1 Oct 2011

You may also like

 Back to <input>
Guides