- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 12:40 AM
Hi,all
I would like to know How to change the color of a field under certain conditions.
If the value 2 exceeds the value 1, I want to set the color of any field to change.
(If the VALUE2 is 1000,and VALUE1 is 500,than Additional comments (Customer visible) field color changes yellow)
I would appreciate it if you could tell us how to implement it because I don't know how to implement it.
Best Regards,
Amy
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 12:43 AM
Go to the field you want to change value, right click, configure styles
then using javascript you can build your condition and using css you can define your colouring
Please Mark Correct AND Helpful. Thanks!
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 01:39 AM
I was able to solve it!
Thank you.