Stylizing the Variable Editor in list view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 10:13 PM
Hello,
I'm wondering if it's possible to style the color of specific variables inside a variable editor. I know with normal variables you simply configure style. For example, if I wanted to change the background color of servicing department based on choice with a client script, how would I access the variables?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 11:05 PM
Hello @Mark Cummins
You need to use onChange() Client Script :-
var choice = g_form.getValue('servicing_department');
if(choice == 'IT'){
var e = gel("label.table_name.Field_Name");
e.style.backgroundColor = 'Color Name';
}
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh