Skip to content

Default validation rules

Greg Bowler edited this page Feb 28, 2023 · 7 revisions

The HTML Standard specifies a number of constraints that are implemented as standard as part of DomValidation, and are listed on this page with examples of how to use them.

Required fields

Text length

Numeric ranges

Preset patterns of text

Custom regular expression patterns

Clone this wiki locally