Change color of helptext

robertpetrovics
Tera Contributor

I want to change the color of the help text under the field from red to dark blue, but can't seem to find where the help text is located. Can you give me a hand?

Untitled.png

Untitled1.png

  

1 ACCEPTED SOLUTION

SunilKumar_P
Giga Sage

Hi @robertpetrovics, Is this the OOB field? It looks like the field message. ServiceNow has a method called '

showFieldMsg' using which we can set the error message (red) or information message (blue). You can look into the client scripts configured on this field.

 

 

g_form.showFieldMsg("cmdb_ci", "Select the Impacted Service", "info");

 

SunilKumar_P_0-1707388532384.png

 

 

g_form.showFieldMsg("cmdb_ci", "Select the Impacted Service", "error");

SunilKumar_P_1-1707388572724.png

 

 

Regards,
Sunil

 

View solution in original post

5 REPLIES 5

SunilKumar_P
Giga Sage

Hi @robertpetrovics, Is this the OOB field? It looks like the field message. ServiceNow has a method called '

showFieldMsg' using which we can set the error message (red) or information message (blue). You can look into the client scripts configured on this field.

 

 

g_form.showFieldMsg("cmdb_ci", "Select the Impacted Service", "info");

 

SunilKumar_P_0-1707388532384.png

 

 

g_form.showFieldMsg("cmdb_ci", "Select the Impacted Service", "error");

SunilKumar_P_1-1707388572724.png

 

 

Regards,
Sunil