Fields Containing Longer Strings

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
matto
Posts: 13
Joined: 31 Jan 2007, 18:49

Fields Containing Longer Strings

Post by matto »

I've been trying to get a custom field to hold a string longer than 255 characters. I edited the core/custome_fields.php file to allow for a textarea field, and modified the database to store the possible values, default values and value for custom fields as type text, which should hold 65,535 characters. This allowed me to get a little more into the custom field, but I am still unable to do more that 511, which is far less than I should be able to fit. If anyone knows why I can't fit any larger strings, or how to fix it so that I can, I would really appreciate any help.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Other people have done this successfully. Search the forums / bug tracker and you will find more information on this issue. There is no Mantis code that limits the length to 511.
Migrate your MantisBT to the MantisHub Cloud
Post Reply