Restrict the character limit for Short Description on Incident Form

SNOW46
Tera Contributor

Hi All,

There is one requirement came that I need to restrict the Character Limit for Short Description Field on Incident Form.

Currently we are using MSP instance and the limit is set as 4000.

Can anyone suggest me how to change this.

 

Regards,

SNOW@Das

3 REPLIES 3

Service_RNow
Mega Sage

Hi,

set a Max / Min length for text String type fields,

find_real_file.png

Ian Mildon
Tera Guru

OOB there are a couple of quick ways to do this:

  1. Right click on the Short Description label and select Configure Dictionary. From there set the required limit in the "Max length" field.
  2. Click the Additional Actions menu, go to Configure>Form Design, click the cogwheel on the Short Description entry, then set the value in the Max length field

Allen Andreas
Administrator
Administrator

The other posters have given good suggestions, but I do see where you specifically mention the incident table. So were you just trying to restrict the character limit on that table only? If so, you may have to do something like a client script onChange (if you wanted to inform them right in the moment) or onSubmit to check character length and inform the user as to the issue. Something like:

function onSubmit() {


   //Type appropriate comment here, and begin script below


   var shDesc = g_form.getValue('short_description');


   if(shDesc.length > 40){


   alert("Your short description should be 40 characters or less. Please correct.");


   return false;


   }

 

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!