valueMissing
typeMismatch
patternMismatch
tooShort
tooLong
rangeUnderflow
rangeOverflow
stepMismatch
badInput
customError
valid
validationMessage:
validationMessage
form.checkValidity() form.reportValidity()
All fields are required unless marked optional.
required
type="email"
setCustomValidity()
type="url"
pattern
min="1" max="12"
step="0.01"
minlength="20" maxlength="200"
Create account Save draft