Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When going over the character limit of the field in IE8 the counter goes in negative and the characters are not limited to the max amount either.
It seems to only happen for textareas.
Comments
Comment #1
mvwensen CreditAttribution: mvwensen commentedThe 'maxlength' attribute for textarea is since HTML5.
IE8 and 9 ignore them (for input types they seem ok).
I fixed it like this:
In maxlength.js insert after line 106 :
Feedback is welcome.
Comment #2
Karol Haltenberger CreditAttribution: Karol Haltenberger commentedIf you are not using 'Force truncate text' on the field, this overrides that and does truncate anyway.
If you are truncating anyway, you should check 'Force enforce text'.
If you checked it and you still get negative values then you should apply this: http://drupal.org/node/1647114
Comment #2.0
Karol Haltenberger CreditAttribution: Karol Haltenberger commentedonly for textarea
Comment #3
cedeweyWe are only maintaining the Drupal 7 version of the module for critical security fixes, so I'm marking this Closed (won't fix). Thank you for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.
I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.