Textarea maxlength validating
On Key Press event isn't a good choice fo this because a length of inserted text is not known in On Key Press ...
I think that grippie div can be used as a 'textarea status bar' where length countdown meter can be placed...
The original idea was to implement this feature in a Drupal core mostly because this feature is even more valuable than resizing.
Description: An exception occurred while processing your request.
Additionally, another exception occurred while executing the custom error page for the first exception.
Even with this patch applied, textareas don't have this character limitation widget unless they have the FAPI #maxlength property set. So this would only work for form elements without #text_format, i.e.
Limiting the character count is also doable at the filter level, and if the #formatter property is implemented, a direct feedback widget like the one proposed in the last patch could be loaded [email protected], the point of this patch was to have the browser limit the input length on textareas like it does for textfields when "maxlength" is used, but I agree that the server-side validation should perform the same check. What you have in your plain-text textarea may be expanded into _a lot_ more. Those can be switched on the client-side, at run-time. Originally, HTML was primarily designed as a language for semantically describing scientific documents.