This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.



When present, it specifies that the <input> element should not be validated when submitted.

Applies to [HTMLInputElement](/html/elements/input)
The formnovalidate attribute is a boolean attribute.

The formnovalidate attribute overrides the novalidate attribute of the <form> element.


<form action="submit.php">
  Input field: <input type="email" name="inputfield">
  <input type="submit" value="Submit">
  <input type="submit" formnovalidate value="Submit without validation">



This attribute can be set on button and input elements. It is a Boolean attribute, and needs to be specified only on an element. The following example shows a field with two buttons, check and save and just save. Note For more code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.


Standards information

See also

Related pages