Skip to main content
HTML Validation

Bad value “X” for attribute “novalidate” on element “form”.

About This HTML Issue

The novalidate attribute is boolean: the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. As a boolean attribute, it does not need to be passed any value such as true or 1 to activate the novalidate property.

This boolean attribute indicates that the form shouldn’t be validated when submitted. If this attribute is not set (and therefore the form is validated), it can be overridden by a formnovalidate attribute on a <button>, <input type="submit">, or <input type="image"> element belonging to the form.

Example:

<form method="post" novalidate>
  <label>User Name:
    <input name="user-name" autocomplete="name">
  </label>
  <button>Save</button>
</form>

Learn more:

Last reviewed: March 14, 2023

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.