it has been noted before [1] that there are inconsistencies in some form_textfield()s $maxlength's values. for example, to quote that link, the title field of nodes is defined of length 128 in the database - the submit form, however, restricts it to max 64 chars. there are (probably quite some) more examples for this (bundle.title, etc).
it makes no sense to define a db field to have a certain length and then not allow that length to be entered. maxlength should always match the db length value.
[1] Why is node title restricted to 64 while the db field is 128 cha
| http://drupal.org/node/view/619
Comments
Comment #1
Kjartan CreditAttribution: Kjartan commentedComment #2
(not verified) CreditAttribution: commented