The CreatorCon Call for Content is officially open! Get started here.

Need to highlight the variable in red color

Kishan4
Mega Expert

HI All,

 

I have a requirement where in I need to highlight the variable of label type on catalog form to red color.

2 REPLIES 2

Saurabh singh4
Kilo Guru

 

You need to select the   variable type as HTML. Then in the Question field pass the font color & size in the format as below:

 

        <font size=4 color='red'><i>Test text for variable</i></font>  

 

Please mark my answer correct and helpful ,If this helps you in anyway.

Thanks in advance

Saurabh

 

Pratiksha Kalam
Kilo Sage

Hello,

First you need to set the   sys_properties glide.ui.escape_text to 'fasle'

then apply the blow line it will work

<font size=4 color='green'><i>Name</i></font>  

 

Var1.PNGVar2.PNGVar3.PNG

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

If my answer is helpful mark correct!

Br,

pratiksha