I added hook_maxlength_form_fields invoked in the maxlength_form_alter function. I had to edit other functions to make it workable. I'd be glad to hear some feedback.

Please see http://drupal.org/node/1105632 for a Maxlength integration for Privatemsg.

CommentFileSizeAuthor
#2 hook-form-fields.fix-id.patch477 bytesnymo
hook-form-fields.patch6.78 KBnymo

Comments

nymo’s picture

Category: feature » support
Status: Active » Needs review
nymo’s picture

StatusFileSize
new477 bytes

Found a bug in my patch in which i didn't convert the _ into - for form element ids.

dawehner’s picture

Status: Needs review » Needs work

I decided to commit the api patch from http://drupal.org/node/984794 so this patch is probably not needed anymore.
Can you verify?

cedewey’s picture

Category: Support request » Feature request
Issue summary: View changes
Status: Needs work » Closed (works as designed)

The Drupal 6 version of Maxlength is no longer supported so I'm marking this Closed (works as designed).

I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.