Glossary: JavaScript in the Browser
pattern
An attribute giving a regular expression the whole value must match, such as \d{5} for a five-digit zip code. A failure sets validity.patternMismatch.
Glossary: JavaScript in the Browser
An attribute giving a regular expression the whole value must match, such as \d{5} for a five-digit zip code. A failure sets validity.patternMismatch.