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
5.2-
Safari Mobile
5-
Chrome
6+
Opera
10.6+
IE
10+
Android
2.3-
Supported No support No support Supported Supported Supported No support

The Low Down

The formnovalidate attribute is for submit buttons to force a form be behave like a form with the novalidate attribute.

  • This could be used in a situation where a form needed to be "saved" but not "submitted" so 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.
  • IE 9 accepts the attribute but it doesn't actually work (because it doesn't have form validation anyway). IE 10 PP2, which does have form validation, this attribute does work on (although not mentioned by their docs).