- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2018 02:47 PM
Hi, I have a requirement to highlight a field label with different colors and font. It is only to show some information to the users but not for the user input. Please advise what will be the best way to achieve it?
Thanks,
Chiranjeevi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2018 12:48 AM
Hi,
You can try with below script, this is working for me.
function onLoad() {
//Type appropriate comment here, and begin script below
var incidentcategory = document.getElementById('label.incident.category');
incidentcategory.style.color = "red";
}
Regards,
Supriya S.
Kindly Hit Helpful, Reply,Mark as Correct Answer if you found useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2018 06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 06:20 AM
Thank you, it's working as expected.
How can I make the label bold?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 06:32 AM
Hi,
incidentcategory.style.fontWeight = 'bold'; can you try this.
Regards,
Supriya S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2018 09:55 PM
Hi Chiranjeevi,
Is the shared solution working for you? Can you please share the update.
Regards,
Supriya S.
Kindly Hit Helpful, Reply,Mark as Correct Answer if you found useful.