- 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-28-2018 09:42 PM
Hi,
I have read below code somewhere a year back and found it useful.You can also try this in on load client script.
Syntax:g_form.flash(table_field, colour, flash_length);
if you will write it once it flashes to red, but stays grey. however writing the same code twice it flash and stays the color you want.
g_form.flash('incident.number', 'red', 0);
g_form.flash('incident.number', 'red', 0);
If it answered your question, please mark the post correct and helpful to close the thread.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 06:19 AM
Thank you Bhawana for quick response. Yes, it's working but highlighting extra space of the fields which making the field look clumsy.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 07:12 AM
Yeah, you are right! Supriya's solution is good to go! 🙂
- 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.