validityState.tooShort

The read-only tooShort property of a ValidityState object indicates if the value of an <input>, <button>, <select>, <output>, <fieldset> or <textarea>, after having been edited by the user, is less than the minimum code-unit length established by the element's minlength attribute.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'ValidityState.tooShort' in that specification.
Living Standard
HTML 5.1
The definition of 'ValidityState.tooShort' in that specification.
Recommendation
HTML5
The definition of 'ValidityState.tooShort' in that specification.
Recommendation

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
tooShortChrome Full support 40Edge Full support 17Firefox Full support 51IE No support NoOpera Full support 27Safari Full support 11WebView Android Full support 67Chrome Android Full support YesFirefox Android Full support 64Opera Android Full support 27Safari iOS Full support 10Samsung Internet Android Full support Yes

Legend

Full support
Full support
No support
No support

See also