The formnovalidate attribute is identical in behavior to the form element’s novalidate attribute, but is applied to a submit button which, if clicked, overrides the novalidate value (if specified) on the containing form element.

Valid values are “true” or “false”. If “true”, clicking the associated submit button will not trigger any native HTML5 validation behaviors (such as triggering of the required attribute) that may have been specified for the form’s input controls.

Syntax:

<input type="submit" value="Save Draft" formnovalidate="true" />

<button formnovalidate="true">Save Draft</button>

Elements:

Example

The formnovalidate example:

 

›› go to examples ››