Web features explorer

Constraint validation API

Widely available since 2021-06-11
Tags: api Groups: HTML > Forms

Methods that validate form controls before submission, such as checkValidity(), reportValidity() and setCustomValidity().

Learning resources on MDN

Browser support (view on caniuse.com)