Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Is there a default character limit for the textarea field?

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

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

Page: 1
Go to End
Author Topic: 3657 Views
  • AlaVive
    Avatar
    Community Member
    42 Posts

    Is there a default character limit for the textarea field? Link to this post

    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.

    Thanks!

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Is there a default character limit for the textarea field? Link to this post

    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.

  • AlaVive
    Avatar
    Community Member
    42 Posts

    Re: Is there a default character limit for the textarea field? Link to this post

    Thanks, willr! You saved me again.

    3657 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.