Dynamically change colour of field in the form widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 12:15 AM
Hi all,
I have a requirement to dynamically change the colour of a field in the form widget based on the field's value. This works fine in the platform/backend as a style is defined for the field.
Is there a way for the widget to inherit the styles associated with the table in question?
Thanks in advance!
Karanvir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 12:49 AM
field style won't work in portal.
you will have to customize that form widget
check this for list and add something similar for form
How to set custom colors to title columns in list page of Service Portal
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader