Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created a custome list with a multiple line of text type column. When user enter value in this field in "add new item" form, I dont want user to enter more than 1000 chars. I am not able to find "Maximum number of characters allowed" control for it like single line of text type column. Please help. Thanks in advance.

share|improve this question

5 Answers 5

If you are dealing with a list rather than a library, use JuanTrev's answer. It is perfect!

If you are using a library and you a want no code solution to limit multiline length to greater than 255 chars there is a more involved answer:

The notefield control set the limitation when in a doclib the control limits the multiline to 255 chars. :/ You could set the UnlimitedLengthInDocumentLibrary property to true. But then you lose your limits. We need a multipart solution:

First, in the tag for the multiline in your feature, set the ‘UnlimitedLengthInDocumentLibrary’ attribute to TRUE. Second, to set the 1000 character limit in the publishing page layout, change the rendering template for the NoteField as follows:

  InputFieldLabel="Short Description"

    < !-- Override the rendering template for the field -->
        <asp:TextBox id="TextField" TextMode="MultiLine" runat="server"/><br />
          Text="Value cannot exceed 1000 characters."
          runat="server" />

Credit - This answer was presented originally in a blog by BART MCDONOUGH

share|improve this answer
I realize Arko D posted about this solution but I thought it was worth the time to expound upon the details. – Joe Johnston May 25 at 22:07

You can limit number of characters user entered by InfoPath form rules. Just create a rule with this expression on the multiline text box you created.

string-length(.) > 1000
share|improve this answer

Use jQuery to solve your issues. Change the FieldName to whatever you named your SharePoint column. Put this on your newForm.aspx page (and EditForm.aspx if you want to limit input there too). Single line fields are processed differently.

    if($(this).val().length > 1000){

This script runs each time the user clicks a button within the multiline field. If the length is more than 1000 characters it removes the last one. You can add different code in the if statement to display a message like "1000 characters max" if needed. But jQuery is your answer here.

share|improve this answer
One quick addition: in order to truly enforce a character max using this method, you need to specify the max character limit in the slice call, not just -1. Although -1 will take out the very last character in the text area, if you get close to the limit and then hold down a bunch of keys all at once, you can get more characters in because the slice won't happen until keyup. So for a very hard limit, use $(this).val($(this).val().slice(0, 1000)); – Dylan Cristy Jul 30 at 20:40

There may be an OOB way of handling this: Validation. In SharePoint 2010 you can add validation to any site column, as well as within the list itself. People would still be able to enter as much text as they want inside the box, but then when they went to save it would give them an error message. Please see SharePoint 2010 Column Validation for detailed answers to this subject.


  • Matt
share|improve this answer

Please follow this url carefully. This has the exact solution to your problem.

Additionally , kindly note that this is not something out of the box solution and the reason is discussed here

share|improve this answer
not exactly. Looks like the first link you posted is for a publishing page. Limit looks to be 255 (configurable) for a doc lib, and 2 GB for a list item. – Derek Gusoff Jan 11 '13 at 18:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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