11

I have an InfoPath Form which submits the text of a textbox and saves it in a SharePoint list. Whenever a user types in more than 255 characters and I want to edit the element in the SharePoint list (e.g. change the value of a custom field) an error appears that the textbox cannot contain more than 255 characters.

It's weird because initially the column can contain more than 255 characters but as soon as I want to edit the element, I get this error.

My question is: How can I turn off the limitation OR how can I display a character counter next to my InfoPath textbox?

Thanks for your help

1

2 Answers 2

23

You have to check the "Allow unlimited length" checkbox on the list column's properties page.

4
  • 2
    Thanks, that works fine if I create a new column. Unfortunately, I can't change the property for an existing column, is it possible to change it? imagebanana.com/view/7ovt483z/Unbenannt.png
    – aydinch
    Commented Jun 8, 2011 at 14:22
  • 1
    are you sure you are in the list settings and the clicked the list column? Another thing is you might have enough permissions to do this
    – Colin
    Commented Jun 8, 2011 at 14:24
  • 2
    I think the setting cannot be changed on some default columns. On custom column types you should be able to change this setting even after creation.
    – Shihan
    Commented Jul 6, 2011 at 8:50
  • 1
    Just a short comment: in version SP 2013 this option reads as "Allow unlimited length in document libraries" and as ist name suggests, you have this option only in document libraries, and not at other list types. On the other hand, you don't have the limitations for multiple text fields at other list types, there are "unlimited" in length out-of-the-box, so there is really no need for this option. A useful link: markrackley.net/2016/06/11/…
    – pholpar
    Commented Apr 17, 2019 at 6:54
0

Forget about InfoPath for a minute. Go directly into the SharePoint list settings and update the field properties. Take out the 255 limitation. Save your changes and then open a new InfoPath form and point it at the list. It will pick up all of your previous changes and as well, your field will not have this 255 length limitation.

1
  • "Take out the 255 limitation." Explaining how to do this (e.g. what steps to take) is the valuable part of the answer that this post is missing.
    – TylerH
    Commented Jul 6, 2023 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.