I want to add a character counter on a textarea field on Webform. I tried the Maxlength module but it doesn't work (I can't find any reference to it on editing the field) and I read it works only for content types, not Webform.

Then I installed Webform Countdown and added this code to my sites/all/libraries/word-and-character-counter/word-and-character-counter.js (Yes, I installed Libraries Module as well) but I don't really know what should I do now. Am I supposed to see something about it on editing the field? I can't find anything.

I'm also using Webform Validation and limiting the max lenght of my textarea fields. It's working fine but I also need something to count the chars as the user is typing.

Can anyone please help me? What's the best solution for this?

Thank you in advance!!


Provides a textarea component for Drupal webforms with a configurable, twitter-style dynamic word or character count.

| improve this answer | |
  • Thank you for your awnser. I installed the module and added the libraries... I enabled on my modules and now what? Nothing appears when i'm editing the textarea fields... :( What should I do? Thanks! – Drii7 Jan 8 '15 at 12:04
  • I not using this module, only know this module existing. – Jaak Ungro Jan 8 '15 at 13:20

Webform Countdown works for this (I have it working on a site). If you are using Webform 4.x the default version available on the site does not fully work out of the box and you need to install some patches to get the module to work properly, see: https://www.drupal.org/node/2157627#comment-8724911

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.