Module Drupal Illustration Voir sur
Nb téléchargements : 37727


  • Code
  • Documentation
  • Miscellaneous
  • User interface



permet d'avoir un compteur soft et hard sur le champ pour les auteurs du contenu


Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Under active development
Supported Branches : 2.0., 2.1.
shield Stable releases for this project are covered by the security advisory policy.


Animated gif showing how the character count reduces as an author types in the text field.

MaxLength allows a soft or hard character limit to be set on titles, text fields and link fields. A character count displays for authors, helping them write concise content.

About the MaxLength module

About the MaxLength module for Drupal 9/10

Maxlength 2.1 Actively maintained and improving. Supports CKEditor 4, CKEditor 5 and Drupal 8, 9 and 10. Boasts a more intuitive configuration interface than 1.0, the countdown message displays red when the maximum length is exceeded and short text fields have a soft limit. (read more)

Maxlength 2.0 Maintained for critical bugs only. Supports CKEditor 4 only. We encourage you to update to MaxLength 2.1

About the MaxLength module for Drupal 7

Maxlength 7.x-3.3 Security fixes only. Less intuitive configuration interface, has several character count bugs.

We strongly encourage upgrading your website from Drupal 7 to Drupal 9.

Helper Module:
MaxLength Auto automatically enables MaxLength on fields with a #maxlength key.

Similar Module:
CKEditor Wordcount provides similar functionality but is only available on fields using CKEditor. Also the character limit is set on the text format rather than the field.

Toutes les informations proviennent du site