Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top