The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Disable 256 Characters Limit - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Disable 256 Characters Limit (/showthread.php?tid=786)



Disable 256 Characters Limit - Hannes - Jul 20th, 2010

Hi Ben,

all textarea submissions longer than 256 are cut after this amount of characters also if I set field type to "WYSIWYG Field" and field size to "Very Large (MEDIUMTEXT)".

Please advise me how to allow longer submissions.

Best regards,
Hannes


RE: Disable 256 Characters Limit - Ben - Jul 21st, 2010

Hi Hannes,

There appears to be some sort of glitch going on. Try this: on the Edit Form -> Database tab, change the size to "Large" (or something), save, then change it back to "Very Large" and save.

When I changed a text field to WYSIWYG on the Edit Field page, then change the size from 20 chars to Very Large, the field still only stores 20 chars. Not sure why yet...

However, when I manually updated the size via the Database tab, everything seemed okay again.

I'll log this as a bug and look into it. Thanks for letting me know!

- Ben


RE: Disable 256 Characters Limit - Ben - Jul 21st, 2010

Addendum:

Okay, I figured it out. This IS a bug; I've logged it here:
http://bugs.formtools.org/index.php?cmd=view&id=235

Even though the allocated size of the form field is being stored in the DB, the actual table isn't being updated, hence the truncation of the content. To fix it, just do as described: go to the

Warning! Don't reduce the size to something really small - it will truncate all data added up to that point. Just change it to LARGE then back to VERY LARGE. That's safest, considering your scenario.

- Ben