Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add scroll bar on Multi Line Text

Jaeik Lee
Mega Sage

Hi.

I am looking for the way to fix height of Multi Line Text in catalog item.

 

Best plan is show scroll bar when over the limit.

At least i make Multi Line Text stop expanding.

 

Thank you for help. 

6 REPLIES 6

Then you can write a on change catalog client script (on your multi line variable) to restrict the characters as per your need:

 

var mul = g_form.getValue('var_name');

if(mul.length>200) // modify character limit as per your req.

{

alert("length cannot exceed 200");

return false;

}


Raghav
MVP 2023
LinkedIn

I can not expect max length about Multi Line Text. so i am looking for apply max_height to MLT.