How to make character limit max 1000 in Multi Line text variable.

Brijmohan
Tera Contributor

Hi All,

I want to set character limit maximum 1000 on one Multi Line text variable. I have used max_length=1000 in variable attribute but it didn't worked. I have also used one client script found on community that also didn't worked. It is just showing the error message when limit crossed 1000 but I want to restrict user when it crossed 1000. 

User should not be able to type more that 1000 char. 

Please suggest on this . Thanks in advance!

8 REPLIES 8

Community Alums
Not applicable
The attribute doesn’t work on the multiline fields. You can develop client script that will check the character limit. You can refer to https://docs.servicenow.com/en-US/bundle/sandiego-platform-administration/page/administer/reference-pages/reference/r_FieldTypes.html

The URL you provided above is invalid.

This link was posted two years ago. If you look at the link, the article is related to San Diego release. You should be able to find a similar article when you replace the family name. 

 

Such as this link for Vancouver:
https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/reference-pages...

Mark Manders
Mega Patron

Did you check this article?

If my answer helped you in any way, please then mark it as helpful.

Mark


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark