How to add color to a text in a service catalog variable

Vaishnavi35
Tera Guru

Hi,

How to add color to a text in a service catalog variable or Is there a way to change the color of font on a variable question from black to any other color?  

Thanks,

Vaishnavi

8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Is your question just for one variable or for all?

If only for one specific: no go. Then look for alternatives like using the instructions field.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

No for all Mark.

find_real_file.pngfind_real_file.png

Its not working.

Prasant Kumar 1
Kilo Sage

Hi,

 please follow the below code:-

var getLblParent= g_form.getElement('label name');

 

var getLblElement = jQuery("label[for='"+getLblParent+"']").css('color','red');

 

 

If i was able to solve your query, then mark my answer correct and helpful.

Thanks & regards

Prasant kumar sahu