validity.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

Update compatibility data on GitHub
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 4.0

Legend

Full support  
Full support
No support  
No support

See also

 

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, jswisher
Last updated by: mdnwebdocs-bot,