Change color of button based on progress within dynamic panel

Sbmaltz shared this problem 2 months ago
In Progress

How do I get the color of a button to change based on progress made within a dynamic panel.


For example, when I click the above mentioned button it opens up the dynamic panel. Within the dynamic panel there is a data master; one of the columns is a check box to mark completion. I want the original button mentioned above to change colors once all the check boxes are clicked within a certain column

Comments (1)

photo
1

It's a little complicated, but here's how to do this:

1. Create an "On Click" + "Data Master Action, Modify" event for the check box. Have it modify the data master this way:

1ec4b9b805089605a7babd5e33f70fbb

2. Create an "On Click" + "Change Style" event for the checkbox in the data list, and have it change the style of the button.

You'll need to create a complex condition for this. See this image and build the condition to match:

a8a42a9f9bf0203ebd9c544177db95c5

This will result in the button only changing style when the amount of checkboxes that are NOT checked is 0.

Here's an attached example as well. Please let me know if you have any questions.