Make validation compatible with the Constraint Validation API #1512
MarkMcDonald
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, HTMLFormElement.checkValidity() will report false even though the JQuery validate methods validate the form in cases where there are required conditional fields.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
Constraint validation still validates fields even when hidden, but should not if disabled so disabling the field as well as hiding may well resolve the issue.
Beta Was this translation helpful? Give feedback.
All reactions