http://drupal.org/project/maxlength

Sounds like an identical set of functionality. Please consider contributing to Max Length instead of adding another module with the same functionality. If not, can you on the project page explain whats different about your module.

Comments

alonpeer’s picture

Version: » 6.x-1.x-dev

I swear I looked and searched for some module that does that but didn't find. OK, so there's maxlength.

It seems that in maxlength you're limited to only the title and body fields of content types. My module doesn't have that limit, but allows you to control ANY text field in ANY form (for example the comment field of the comment form, the message field of the contact form etc.).
I also intend to add support for words counting.

I see you have pending issues similar to those 2 features above. I can help extend maxlength instead of continuing my module, is that good?

a_c_m’s picture

the 2.x version added some of these features, for CCK but not sure about comments. Perhaps the 2.x branch would be a good base for you to improve from.

Or you need to write a much better module and offer an upgrade path from max length. Just i know how frustrating it is to see 6 modules that all do the same thing and not knowing which one to pick / which will get abandoned :)

technikh’s picture

Issue tags: +CCK, +validation, +limit, +integer

max length does not validate minimum characters for a text field. also it does not support cck field of integer type. http://drupal.org/node/1051532

a_c_m’s picture

patches are welcome :P

technikh’s picture

Thanks for the Max Length Module.
served my purpose.
as client side validation module supports max length I modified it a bit to support minlength too.
_clientside_validation_set_minmaxlength ($el_name, $element['#title'], $element['max_length'], $element['max_length'], $js_rules);

Now my fields will allow exact specified limit
As "Integer" didn't have maxlength attribute I went with "Text"