Key facts
How do novalidate and formnovalidate behave?
novalidate stops the browser from blocking a submit because of invalid fields. The fields are still marked valid or invalid, so scripts and CSS can read the result.
| Fact | Detail |
|---|---|
| What it skips | The submit-time checks for required, type checks like type="email" and type="url", pattern, min / max / step and minlength / maxlength. The browser shows no error bubbles and sends the form as it is. |
| What still works | checkValidity(), reportValidity(), validity and the :invalid / :valid CSS selectors still report each field's state. The JavaScript Constraint Validation API keeps working. |
| Boolean attribute | Its presence turns it on. novalidate, novalidate="" and even novalidate="false" all switch validation off; remove the attribute to turn it back on. |
| formnovalidate | Works only on submit buttons: <button type="submit">, <input type="submit"> and <input type="image">. It skips the checks for submits made with that button only. |
| Common use | Custom validation messages: the form gets novalidate so the browser's bubbles don't show, and your script calls checkValidity() or reportValidity() itself before sending. |
Sources: WHATWG HTML Standard: novalidate · MDN: form novalidate




