Open taoeffect opened 8 years ago
Good point. It's an HTML5 attribute.
From MDN.
This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a formnovalidate attribute on a
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
Hah! You beat me to it. I was reading a bunch of docs on it (including that one) while waiting for a response. I found this article with a bit more info on it and an example. Very curious, had never heard of this feature before.
I would still recommend adding something about it to the docs, just to explain why it's there and that no, in fact it doesn't have much to do with this plugin (perhaps giving readers this link and/or the MDN one).
thank you for your feedback. I'll try to add explain.
Perhaps its worth it to add this attribute to the form automatically? This is what jquery validate does, and I can't see a reason why you wouldn't want it.
Perhaps its worth it to add this attribute to the form automatically? This is what jquery validate does, and I can't see a reason why you wouldn't want it.
+1
I looked through every page of the docs and could only find instances of
novalidate
in the code as an attribute onform
, but no accompanying explanation.