Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Is there a default character limit for the textarea field?

Go to End

3 Posts   6431 Views


Community Member, 42 Posts

11 September 2009 at 7:55am

Edited: 11/09/2009 7:56am

I'm using the filedataobjectmanager to upload PDF files, add a title (text field), description (textarea field), and keywords (textarea field). For the keywords portion, I was asked if there is a limit to the number of keywords that can be added, since some of the PDFs may be keyworded with up to almost 2,000 characters. I said there isn't a limit, but I need to see if anyone can confirm that.



Forum Moderator, 5523 Posts

11 September 2009 at 2:57pm

I am pretty sure the max size you can use in a Text database field is about 4MB of Text. You can do the translation into how many characters 4mb is but its quite a few :).

If it actually uses a Varchar field in the DB to store it then it has a 255 char limit.


Community Member, 42 Posts

15 September 2009 at 10:50am

Thanks, willr! You saved me again.