The Current State of HTML5 Forms

The formnovalidate Attribute

<form>
  <input type=number name=num min=1 max=10>
  <input type=submit formnovalidate value=Save>
  <input type=submit value=Submit>
</form>

Live Demo



Firefox
4+
Safari
7-
Safari Mobile
7-
Chrome
6+
Opera
10.6+
IE
10+
Android
4.2-
Supported No support No support Supported Supported Supported No support

The Low Down

The Boolean formnovalidate attribute prevents a form from being validated, similar to the novalidate attribute of the <form> element, preventing the associated form from native client-side validation.

  • The Boolean formnovalidate attribute is applicable for <input> of type=submit and type=image or as an attribute of the <button> element.
  • The formnovalidate attribute could be used in a situation where a form needed to be "saved" but not "submitted", when invalid data is OK for now. Example: Doing your taxes online, a number field could have the value "ask Diane in accounting about this" as a note-to-self.
  • Safari, Safari iOS and Anroid accept the attribute but it don't actually work (because they don't have form validation anyway).