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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | hook-form-fields.fix-id.patch | 477 bytes | nymo |
| hook-form-fields.patch | 6.78 KB | nymo |
Comments
Comment #1
nymo commentedComment #2
nymo commentedFound a bug in my patch in which i didn't convert the _ into - for form element ids.
Comment #3
dawehnerI decided to commit the api patch from http://drupal.org/node/984794 so this patch is probably not needed anymore.
Can you verify?
Comment #4
cedeweyThe 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.