With a text field. The prompt text for "Maximum Length" says "The maximum length of the field in characters. Leave blank for an unlimited size.".

When you leave it blank then create a new node text entry in the form field seems to be limited to 128 characters rather than being unlimited.

The HTML for the input tag has maxlength="128"

Comments

yang_yi_cn’s picture

that affects nodereference as well, see my post: http://drupal.org/node/273569
however it seems that nobody is working on this issue.

yched’s picture

Status: Active » Fixed

True. This is because system_elements() defines a default value for textfield's #maxlength.
Fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

kenorb’s picture

The same problem. I've got error:

Some field cannot be longer than 128 characters but is currently 166 characters long.

Solution:

'#maxlength' => NULL,

based on #758870: Remove maxlength from signup description textfield

Or see following modules:
http://drupal.org/project/maxlength
http://drupal.org/project/skip_validation