Form validation
Method of setting required fields and field types without requiring JavaScript. This includes preventing forms from being submitted when appropriate, the checkValidity()
method as well as support for the :invalid
, :valid
, and :required
CSS pseudo-classes.
IE | Edge | Firefox | Chrome | Safari | Opera | iOS Safari | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Chrome for Android | Firefox for Android | IE Mobile | UC Browser for Android | Samsung Internet | QQ Browser | Baidu Browser |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49 | |||||||||||||||||
56 | 9.3
See notes:
|
4.4
See notes:
|
|||||||||||||||
14 | 52 | 57 | 10
See notes:
|
10.0-10.2
See notes:
|
4.4.3-4.4.4 | 4 | |||||||||||
11 | 15 | 53 | 58 | 10.1 | 44 | 10.3 | all
See notes:
|
56 | 10 | 37 | 57 | 52 | 11
See notes:
|
11.4 | 5 | 1.2 | 7.12 |
54 | 59 | TP | 45 | ||||||||||||||
55 | 60 | 46 | |||||||||||||||
56 | 61 |
Notes
-
1
Partial support refers to lack of notice when form with required fields is attempted to be submitted. See WebKit bug.
-
2
Partial support in IE10 mobile refers to lack of warning when blocking submission.
-
3
Partial support in Opera Mini refers to only supporting the CSS pseudo classes.