Word limit for Multi line text variable in Record Producer

Sharon24
Tera Contributor

Hi,

I'm required to set the word limit to 1500 max on a Multi Line Text variable in Record Producer. Here is what I did, but it doesn't work.

find_real_file.png

7 REPLIES 7

i have the same problem that script it doesn't work in service portal 

is there any solutions???

Aman Kumar S
Kilo Patron

Can your just try:

var multitextfield = g_form.getValue("your_field_name");

alert(multitextfield.length); 

 

It should give you the size and you can adjust your logic accordingly

Best Regards
Aman Kumar

this is my script
others must enter more than 256 characters, if there are less, the error msg will be displayed in the service portal. 
it works in the catalog item, the problem is on the service portal.