Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Hey there, thanks for the note. It is most likely the case that the HTML textfield is cutting it off. You could potentially form_alter the textareas to allow a longer max length, or even form_alter them to be textfields or something crazy. It renders the input form using a table, so the formatting should be reasonably sane if you don't allow too many columns in the textfield.
Yeah, I wouldn't worry too much about changing that. The only real risk you run is that you'll have to re-edit the file if you upgrade to a future version. It would be way more difficult to override that setting using a form_alter or something.
Comments
Comment #1
kevin hankens commentedHey there, thanks for the note. It is most likely the case that the HTML textfield is cutting it off. You could potentially form_alter the textareas to allow a longer max length, or even form_alter them to be textfields or something crazy. It renders the input form using a table, so the formatting should be reasonably sane if you don't allow too many columns in the textfield.
Hope that helps!
Comment #2
juzzuu commentedThanks for the answer.
I hacked the core module, yes I know, I shouldn't, but it works.
After line 343 '#size' => 10, (tablefield.module) I put in - '#maxlength' => 2000,
Is there a way to put this in the template.php file?
I'm not a PHP guy, so!
Comment #3
kevin hankens commentedYeah, I wouldn't worry too much about changing that. The only real risk you run is that you'll have to re-edit the file if you upgrade to a future version. It would be way more difficult to override that setting using a form_alter or something.
I'd just stick with what you have!
Comment #4
juzzuu commentedHey Kevin.
Thanks, I will stick to it!
Comment #5
stijndI posted a patch for this one here http://drupal.org/node/1031282
Comment #6
lolandese commentedClosing as duplicate.