How do I set short_description field your label bold
Import
·
Jul 24, 2019
·
article
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,
View original source
https://www.servicenow.com/community/developer-articles/how-do-i-set-short-description-field-your-label-bold/ta-p/2327241