How to add color to a text in a service catalog variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 01:50 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 02:23 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 02:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 03:03 AM
Hi Vaishnavi,
Check the below links, These may work.
Thanks,
Satya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 03:17 AM
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