How to make catalog item variable bold and increase the font size

Feddy
Kilo Sage

We have one record producer and we would like to increase the font size of the variable and make it bold.
I came across couple of posts and we could use property 'glide.ui.escape_text to 'false' to achieve.
Is there any other option that I can follow to meet the requirement?

any help on this would be much appreciated.

17 REPLIES 17

@Feddy 

You will have to check if g_form.getControl() has any limitations with checkbox, yes/no variables.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I need to fix it only for portal view.
I have added all the questions in a a variable and they are working fine for all the single line text fields. I couldn't do it for select box type/multiple choice fields.

@Feddy 

Not very sure as didn't check for select box or multiple choice variables.

I believe the solution is at least working based on your question.

If my response helped you please mark it correct to close the question so that it benefits future readers as well.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar 

One interesting thing I found.
Select box variable with the less no., of characters getting updated by the script .
if the variable length is too big, it is not working.

@Feddy 

Oh okay.

Thanks for sharing will keep in mind.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader