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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2021 10:44 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 05:58 AM
You will have to check if g_form.getControl() has any limitations with checkbox, yes/no variables.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 06:29 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 06:36 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 07:09 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 07:56 AM
Oh okay.
Thanks for sharing will keep in mind.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader