- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 05:17 PM
Hi,
Is it possible to change the background color of ServiceNow read-only fields in incident form from grey to another color?
Thanks
Bimsari
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:29 PM
@Community Alums
refer this link: https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/navigation-a...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 06:28 PM
Hi @Community Alums ,
There is no out of the box settings to change the default readonly background color however you can apply background colours for fields in general using g_form.getElement()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:04 PM
Hi @Hemanth M
Thank you for your reply
I tried this and it only worked for non read-only fields☹️
Bimsari!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:08 PM
Hi @Community Alums ,
why don’t you set the field read only after you change colour in the same script. (Remove existing read only logic)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:29 PM
@Community Alums
refer this link: https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/navigation-a...