<input type=number name=num min=1 max=10>
<input type=submit formnovalidate value=Save>
<input type=submit value=Submit>
The Low Down
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.
formnovalidate attribute is applicable for
type=image or as an attribute of 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).