Filter (Advanced Search)
Downloads
0
Views
225
Video

Video is not available... Embedded is previous playlist.

Details

The novalidate attribute is a boolean attribute.

When present, it specifies that the form-data (input) should not be validated when submitted.


<!DOCTYPE html>
<html>
<body>

<h1>The form novalidate attribute</h1>

<p>The novalidate attribute indicates that the form input is not to be validated on submit:</p>

<form method="post" action="/php/actionPagePost.php" novalidate>
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" name="lname"><br><br>
  <input type="submit" value="Submit">
</form> 

<p><strong>Note:</strong> The novalidate attribute of the form tag is not supported in Safari 10 (or earlier).</p>
</body>
</html>



Ad