For some reason, Chrome seems to validate the required fields even when the submit button has got the attribute formnovalidate
.
See http://jsfiddle.net/4LA9e/
<form>
Required field: <input type="text" required />
<input type="submit" formnovalidate value="do not validate" />
</form>
Clicking the "do not validate" button still validates the text field (tested on Chrome 30.0.1599.69 m).
Is there anything I am doing wrong? Is that a bug? Any workaround?
As mentioned in my comment on the question, this was a regression introduced in version 30 (see this bug report), which was then fixed in Chrome 31.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With