I have set a textarea to be required, plain text CCK field. If I skip filling it in and try to preview/save the node then the validation complains and Maxlength stops working. I.e. it doesn't count down, nor stop text from being filled in when going over the max length limit.
Comments
Comment #1
Patroclas commentedThere are similar threads about this - once the form fails validation, maxlength stops working.
An example is if text is cut and pasted into a cck textfield with maxlength enabled - if the count is exceeded, the form fails validation and maxlength stops working. This renders the module unusable in a production site.
Is there any fix for this planned please?
Comment #2
tsvenson commentedAnother easy way to test this is to put the field as required and not enter anything in it.
Comment #3
NaX commentedThis patch http://drupal.org/node/471138#comment-2073606 fixed my problem with validation breaking the maxlength count.
I suggest you give that patch a try. The patch is old and might need to be manually applied.
Comment #4
aron novakDuplicate of #471138: Remaining Characters not working after failed submission . If you experience this bug, re-open the linked ticket, not this one. Thanks