- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 03:47 AM
Hi,
Is there a way we can change the background color of the incident form such that the background is black and the field text coclor is white. I have gone through other community responses but most of them relate to changing the background color of inidividual fields using CSS or styles.
the current appearance of form is black font on a white background which I want to reverse. Appreciate your help in advance if anyone have already have a solution for this.
Thanks
Sreedhar.
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 04:36 AM
Hi,
just tried to play a little, you can create an onLoad Client Script for the Incident Table (remember to uncheck flag Isolate Script) and use the following script, it works in my instance:
function onLoad() {
//Change the color of all form section headers
var backgroundColor = 'red';
$$('.section_header_body_no_scroll').each(function(elmt) {
elmt.style.backgroundColor = backgroundColor;
});
}
If I have answered your question, please mark my response as correct and/or helpful.
Thank you very much
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 04:36 AM
Hi,
just tried to play a little, you can create an onLoad Client Script for the Incident Table (remember to uncheck flag Isolate Script) and use the following script, it works in my instance:
function onLoad() {
//Change the color of all form section headers
var backgroundColor = 'red';
$$('.section_header_body_no_scroll').each(function(elmt) {
elmt.style.backgroundColor = backgroundColor;
});
}
If I have answered your question, please mark my response as correct and/or helpful.
Thank you very much
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 11:37 PM
Thank you for your quick response. This was helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 05:30 AM
Hi there
Please try below:
function onLoad() {
//Type appropriate comment here, and begin script below
var backgroundColor = '#c9ddfc';
$$('form[id$=".do"]').each(function(elmt) {
elmt.style.backgroundColor = backgroundColor;
});
}
note:
Please follow the below steps:
1.As this is going to be DOM operation we need to disable below system property
glide.script.block.client.globals
refer SS :
2.Now add Isolate Script check box on the Client Script:
refer SS:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 11:37 PM
Thank you for your quick response. This was helpful.