cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Set background colour for dropdown list

Jump to solution

I have a dropdown list with 3 options Red, Amber & Green. When the user selects one of the options then I want the background color of the dropdown list to change to the relevant color. This was easy in InfoPath but as we are migrating to Nintex would appreciate any advice on how to achieve this.

Labels: (1)
0 Kudos
Reply
3 Replies
Highlighted
Nintex Newbie

Re: Set background colour for dropdown list

Jump to solution

Use the browser developer pane to investigate the dropdown control and which CSS classes are linked with it. This you'll need in Custom JavaScript to change the background colour when the control's selected value changes. Hopefully this rudimentary info gets you going.

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Set background colour for dropdown list

Jump to solution

Hi @sp215 

Another codeless way to achieve the same is to use formatting rules. Only for each color you need to create a separate rule:

NintexComm2.PNG

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Set background colour for dropdown list

Jump to solution

Many thanks - the rule works but it fills the border with the correct color rather than the background of the dropdown.

0 Kudos
Reply