HTML <input> formnovalidate Attribute

Definition and Usage

formnovalidate The attribute is a boolean attribute.

If this attribute is set, it specifies that form data should not be validated when submitted.

formnovalidate The attribute overrides the The novalidate attribute.

Note:formnovalidate The attribute can be combined with type="submit" Used together.

Example

A form with two submit buttons. The first submit button uses default validation to submit form data, and the second submit button submits form data without validation:

<form action="/action_page.php">
  <label for="email">Enter your email:</label>
  <input type="email" id="email" name="email"><br><br>
  <input type="submit" value="Submit">
  <input type="submit" formnovalidate="formnovalidate" value="Submit without validation">
</form>

Try It Yourself

Syntax

<input formnovalidate="formnovalidate">

Note:The formnovalidate attribute is a boolean attribute that can be set in the following ways:

<input formnovalidate>
<input formnovalidate="formnovalidate">
<input formnovalidate="">

Browser Support

The numbers in the table indicate the first browser version to fully support this attribute.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support 10.0 Support 10.1 10.6