Active
Project:
Character Limit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 May 2009 at 22:59 UTC
Updated:
9 Feb 2011 at 19:55 UTC
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
Comment #1
alonpeer commentedI 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?
Comment #2
a_c_m commentedthe 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 :)
Comment #3
technikh commentedmax 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
Comment #4
a_c_m commentedpatches are welcome :P
Comment #5
technikh commentedThanks 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"