🏠 New in Low Baseline Support: Constraint validation API
December 11, 2018
Methods that validate form controls before submission, such as checkValidity()
, reportValidity()
and setCustomValidity()
.
Source features
api.HTMLButtonElement.willValidate
[mdn]api.HTMLFieldSetElement.willValidate
[mdn]api.HTMLInputElement.willValidate
[mdn]api.HTMLSelectElement.willValidate
[mdn]api.HTMLTextAreaElement.willValidate
[mdn]api.HTMLButtonElement.validity
[mdn]api.HTMLFieldSetElement.validity
[mdn]api.HTMLFormElement.checkValidity
[mdn]api.HTMLInputElement.checkValidity
[mdn]api.HTMLInputElement.setCustomValidity
[mdn]api.HTMLInputElement.validity
[mdn]api.HTMLObjectElement.willValidate
[mdn]api.HTMLSelectElement.checkValidity
[mdn]api.HTMLSelectElement.setCustomValidity
[mdn]api.HTMLSelectElement.validity
[mdn]api.HTMLButtonElement.checkValidity
[mdn]api.HTMLButtonElement.setCustomValidity
[mdn]api.HTMLFieldSetElement.checkValidity
[mdn]api.HTMLFieldSetElement.setCustomValidity
[mdn]api.HTMLTextAreaElement.checkValidity
[mdn]api.HTMLTextAreaElement.setCustomValidity
[mdn]api.HTMLTextAreaElement.validity
[mdn]api.ValidityState
[mdn]api.ValidityState.customError
[mdn]api.ValidityState.patternMismatch
[mdn]api.ValidityState.rangeOverflow
[mdn]api.ValidityState.rangeUnderflow
[mdn]api.ValidityState.stepMismatch
[mdn]api.ValidityState.typeMismatch
[mdn]api.ValidityState.valid
[mdn]api.ValidityState.valueMissing
[mdn]api.HTMLButtonElement.validationMessage
[mdn]api.HTMLFieldSetElement.validationMessage
[mdn]api.HTMLInputElement.validationMessage
[mdn]api.HTMLSelectElement.validationMessage
[mdn]api.HTMLTextAreaElement.validationMessage
[mdn]api.HTMLObjectElement.checkValidity
[mdn]api.HTMLObjectElement.setCustomValidity
[mdn]api.HTMLObjectElement.validationMessage
[mdn]api.HTMLObjectElement.validity
[mdn]api.HTMLOutputElement.checkValidity
[mdn]api.HTMLOutputElement.setCustomValidity
[mdn]api.HTMLOutputElement.validationMessage
[mdn]api.HTMLOutputElement.validity
[mdn]api.HTMLOutputElement.willValidate
[mdn]api.HTMLOutputElement.reportValidity
[mdn]api.HTMLFormElement.reportValidity
[mdn]api.HTMLObjectElement.reportValidity
[mdn]api.ValidityState.tooLong
[mdn]api.ValidityState.badInput
[mdn]api.HTMLButtonElement.reportValidity
[mdn]api.HTMLFieldSetElement.reportValidity
[mdn]api.HTMLInputElement.reportValidity
[mdn]api.HTMLSelectElement.reportValidity
[mdn]api.HTMLTextAreaElement.reportValidity
[mdn]api.ValidityState.tooShort
[mdn]