I think you'd do it with a hook_form_alter... set maxlength in the hook based on your roles. On 28/04/2010 10:00 PM, development-request@drupal.org wrote:
Message: 1 Date: Tue, 27 Apr 2010 09:49:01 -0600 From: Karyn Cassio<karyn@karyncassio.com> Subject: [development] Character limit on body textarea To:development@drupal.org Message-ID:<4BD7076D.90404@karyncassio.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Good day Drupal Devs,
I have an issue where I need to set a character limit on a content's body_field. I found maxlength, which is great, unfortunately it isn't everything I need since this is a per role situation. Some roles would have a limit, others unlimited.
Has anyone successfully been able to apply an alter to the maxlength module to have it work for specific roles only?
Thanks,
-- Karyn