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.
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'ValidityState.tooLong' in that specification. | Living Standard | |
HTML5.1 The definition of 'ValidityState.tooLong' in that specification. | Working Draft | |
HTML5 The definition of 'ValidityState.tooLong' in that specification. | Recommendation |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? | ? |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong