Skip to content

Make validation compatible with the Constraint Validation API #1242

@MarkMcDonald

Description

@MarkMcDonald

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions