Glossary: JavaScript in the Browser
validity
Also written: validationMessage, valueMissing, typeMismatch, patternMismatch
An object of true/false flags on every form control, such as valueMissing and patternMismatch. validationMessage holds the browser's ready-made message.