HTML <input> Tag with the 'formnovalidate' Attribute

<form>
<!-- ...form contents... -->

<input type="submit" formaction="http://www.htmlcodes.ws/resources/html-forms-action.cfm" formnovalidate>

</form>

In the above example we add the formnovalidate attribute to an <input> element.

The formnovalidate attribute allows you to specify that the form is not to be validated during submission.

This is a boolean attribute. Therefore, if the attribute is present, its value must either be the empty string or a value that is an ASCII case-insensitive match for the attribute's canonical name, with no leading or trailing whitespace (i.e. either novalidate or novalidate="novalidate").

Possible values:

  • [Empty string]
  • novalidate

The W3C says:

The no-validate state of an element is true if the element is a submit button and the element's formnovalidate attribute is present, or if the element's form owner's novalidate attribute is present, and false otherwise.