Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to change the font color for the Label variable on catalog item

Karthik Reddy11
Tera Contributor

Hi

there is a Label Variable called 'NOTE' we have to add some Text Colors to that Label

Note: Please ensure that you have purchased the before raising your request for license assignment. Please reach out to team at abcdef@gmail.com if you have any query.

Existing Label Variable on catalog item 

find_real_file.png

We have to modified like this

find_real_file.png

 

can you help me with this 

 

 

Thanks,

Karthik

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi,

Please go through below link:

https://www.servicenowguru.com/system-ui/field-styles-service-catalog-variables/

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

View solution in original post

2 REPLIES 2

Chandu Telu
Tera Guru

HI 

Check the below link for SP

https://community.servicenow.com/community?id=community_question&sys_id=7f30c489db806894d5c4d9d968961957

 

Use below for back end

var getLblParent= g_form.getElement('label_test').id.replace('sys_original.','');

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

 


Please Mark the answer if correct/helpful , if it helps

Community Alums
Not applicable

Hi,

Please go through below link:

https://www.servicenowguru.com/system-ui/field-styles-service-catalog-variables/

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep