Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, September 10, 2015 5:12 PM
We would like to set a character limit of 20 on a Text field in a SharePoint form. Is this possible?
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
All replies (13)
Thursday, September 10, 2015 5:25 PM ✅Answered
Go to the List Settings, find the particular Field you want to limit, then change the "Maximum number of characters" from 255 to 20.
Trevor Seward
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Thursday, September 10, 2015 5:58 PM ✅Answered
All it shows is the following items
|
||||||||||||||||||
<label for="idColName">Column name:</label>
|
||||||||||||||||||
The type of information in this column is:
|
||||||||||||||||||
|
<label for="idDesc">Description:</label>
|
|||||||||||||||||
Require that this column contains information:
|
||||||||||||||||||
<label for="idNumLines">Number of lines for editing: </label>
|
||||||||||||||||||
<label for="onetidRichText">Specify the type of text to allow:</label>
|
||||||||||||||||||
<label for="onetidAppendOnly">Append Changes to Existing Text</label>
|
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Thursday, September 10, 2015 6:02 PM ✅Answered
Can you post a screenshot of what you're seeing instead? The Single Line of Text field does have this option.
Trevor Seward
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Thursday, September 10, 2015 6:05 PM ✅Answered
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Thursday, September 10, 2015 6:13 PM ✅Answered
Upload it to http://imgur.com or OneDrive and share it out.
Trevor Seward
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Thursday, September 10, 2015 6:14 PM ✅Answered
Name and Type
Type a name for this column.
Column name:
The type of information in this column is:
Single line of text
Multiple lines of text
Choice (menu to choose from)
Number (1, 1.0, 100)
Currency ($, ¥, €)
Date and Time
Additional Column Settings
Specify detailed options for the type of information you selected.
Description:
Require that this column contains information:
Yes No
Number of lines for editing:
Specify the type of text to allow:
Plain text
Rich text (Bold, italics, text alignment, hyperlinks)
Enhanced rich text (Rich text with pictures, tables, and hyperlinks)
Append Changes to Existing Text
Yes No
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Thursday, September 10, 2015 6:16 PM ✅Answered
Based on that, it looks like you're using a Multiline of text field (any reason you don't just use Single Line?). That said, there are some solutions out there:
http://sharepoint.stackexchange.com/questions/37162/sharepoint-multiple-line-of-text-char-limit
Trevor Seward
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Thursday, September 10, 2015 6:25 PM ✅Answered
I switched it to Single Line of Text and lowered the character limit but, the column still shows a ton of data. Is there a way to limit the character view for the column?
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Sunday, September 13, 2015 3:18 AM ✅Answered
Hello RonJohnMSU,
If I understand correctly, you want to change the display of a list. Because you have a lot of characters in one of the columns, list doesn’t look good, you need to scroll to right.
You can limit the characters displayed in a column and show the rest in a tool tip.
Here is how my list looks like:
You can achieve it by using JSLink. JSLink files have ability to change how list views and forms are rendered more specifically how the fields in the list should be displayed.
Here is a JSLink sample to display column text shorter:
https://code.msdn.microsoft.com/office/Client-side-rendering-code-93e7077d
Here is more information about JSLink:
http://www.learningsharepoint.com/2013/04/13/sharepoint-2013-js-link-tutorial
Thank you
Thursday, September 17, 2015 4:25 PM ✅Answered
This worked. Thanks!
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Thursday, September 10, 2015 6:01 PM
It just pasted code when I did a copy and paste. I can see the 255 in the code but, how do I change it. I only have out of the box options in the site settings.
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG
Thursday, September 10, 2015 6:03 PM
See the highlighted portion:
Trevor Seward
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Thursday, September 10, 2015 6:12 PM
My screen shot will not post
Ron Johnson Systems Administrator Michigan State University Federal Credit Union Office – (517) 333-2391 [email protected] WWW.MSUFCU.ORG