ValidityState.tooLong

The read-only property ValidityState.tooLong indicates if the value of an <input> or <textarea>, after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength attribute.

Specifications

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome ? Edge Full support YesFirefox ? IE Full support 10Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Contributors to this page: connorshea, amy-mac, erikadoyle, rolfedh, LightGuard, cvrebert
Last updated by: connorshea,