---
id: "constraint-validation"
kind: "web-feature"
canonical: "https://timetostable.com/feature/constraint-validation"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Constraint validation API (`constraint-validation`)

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

- **Group**: Forms
- **Baseline**: Widely Available
- **Newly Available Date**: 2018-12-11
- **Widely Available Date**: 2021-06-11
- **Specification**: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api
- **Constituent BCD keys**: 56

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 40 | 2015-01-21 |
| Chrome Android | 40 | 2015-01-21 |
| Firefox | 51 | 2017-01-24 |
| Safari | 10.1 | 2017-03-27 |
| Safari on iOS | 10.3 | 2017-03-27 |
| Edge | 18 | 2018-10-02 |
| Firefox for Android | 64 | 2018-12-11 |

