Skip to main content
Nintex Community Menu Bar
Solved

Change button control colours via rule


Forum|alt.badge.img+8

i want to know if it is possible to change colours of a button with event driven rule?

i use javascript to set button colours, and they are set depending on the ‘Tooltip’ field.

i create a rule, and the action set’s the button control tooltip property.

this works, as i show a message to see that it has passed value correctly.

the button colour however doesn’t change

i have also tried conditional formatting on the button colour to change depending on the tooltip value, but that doesn’t work either

anyone have a solution?

Best answer by tbyrne777

Would a “Conditional Format” on the button work? You can tie the condition to some hidden value on the form that you set via event driven rule

View original
Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+13
  • Scholar
  • 499 replies
  • Answer
  • August 3, 2023

Would a “Conditional Format” on the button work? You can tie the condition to some hidden value on the form that you set via event driven rule

Translate

Forum|alt.badge.img+8
  • Author
  • Rookie
  • 80 replies
  • August 3, 2023

i have a conditional format  - but for the tooltip of the button
so maybe, add  datalabel on view
once i up date control tooltip, then transfer data to datalabel, and have conditional formatting on that datalabel?

will try that

Translate

Forum|alt.badge.img+8
  • Author
  • Rookie
  • 80 replies
  • August 5, 2023

yeah that has done the trick

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings