There is already a module which does this. http://drupal.org/project/maxlength

Please consider merging / working with that module to reduce code duplication.

Comments

introfini’s picture

Yes, it's true. But this one works better :-)

Anyway it would be better if they merged the two modules.

designerbrent’s picture

Status: Active » Fixed

I searched and searched for something like this prior to writing it. The only thing I found was the cck_wordcount module and adapted it to do character counting as well and that is how it ended up where it is. It was only after I posted this to drupal.org that I even saw the maxlength module.

We didn't set out to duplicate any module. Just looking for something to meet our needs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.