
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
07-24-2019 12:50 PM - edited 10-24-2023 12:47 PM
How do I set short_description field your label bold?
Images | Description |
01. >> System Definition > Client Scripts | |
02. New | |
03. Type information, in this case was used incident table and short_description field |
|
04. Type script | |
05. Save / Submit |
BEFORE:
AFTER:
Sample Script
function onLoad() {
var l = g_form.getLabel('short_description');
l.style.fontWeight='bold'; }
obs: comments / work notes fields
var Label = g_form.getLabel('comments');
Label.style.color= 'red';
Label.style.fontWeight='bold';
Note: Field styles are not applied to comments and work notes fields used with the activity formatter. Styles for these fields can be set using the glide.ui.activity_stream.style.comments
andglide.ui.activity_stream.style.work_notes
system properties located on the sys_properties table. source: field styles
Author:
Wrote in New York release
Making labels in Service Catalog appear in bold and a larger font
=======================
By
Hi,
- 3,691 Views


- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi,
Can you include a before and after photo?

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content


- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Nicely done!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi,
Does anyone Know how to make text as bold in UI page client script. I have a requirement where I need to post that text on worknotes. For eg: TCD Change Reason: Value that we get from popup screen.
So I need to make this TCD Change Reason as bold in client script of UI page
The variable will look as expected on the Service Portal :