- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 07:08 AM
Hi all,
I have to set a character limitation on single and multi line text variable. I have several single line text variable and management wants that only a limited number of character should be allowed in those fields. Please let me know how can I do that?
Thanks in Advance!
Regards,
Jitendra Singh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 07:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 07:10 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 07:11 AM
You might find this thread helpful (despite the description)
Re: Single Line Text Variable Char Limit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 07:18 AM
The easiest way would be to set the attribute of the variable as max_length=somevalue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2019 04:51 AM
Doesn't work. It never saves.
Very lame that this happens. It's absurd that you can't set max_length, and that you'd need to rely on an onSubmit script to handle it.
So, I personally get the maxlength attribute set by manipulating the DOM via an SP widget:
I have a Single Line Text field named "upc" as a Catalog Item Variable.