We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Script to limit max size of string field.

Hi, I have many string fields set to 400 characters. This allows the boxes to be the right size. However I need to stop users putting in too much data. How best to do this with a script? I tried an On Change Client script, but it didn't work: functio...

Ian46 by Tera Contributor
  • 3743 Views
  • 14 replies
  • 7 helpfuls