Disabling Input Validation
Description
You can disable the form validation either by applying the novalidate
attribute to the form element,
or the formnovalidate
attribute to the types of the button and input elements that can submit forms.
Example
The following code shows how you can disable form validation.
<!DOCTYPE HTML>
<html>
<body>
<form method="post" action="http://example.com/form">
<p>
<label for="email"> Email: <input type="email"
placeholder="user@mydomain.com" required pattern=".*@mydomain.com$"
id="email" name="email" />
</label>
</p><!--from ww w . java 2 s .c o m-->
<input type="submit" value="Submit" /> <input type="submit"
value="Save" formnovalidate />
</form>
</body>
</html>