Problem
I tried a number of solutions online. A lot of them were quite complicated and involved changing the button classes. This was not necessary in my case.
Solution
Create you checkbox and your button as normal.
Checkbox Values:
STATIC:Yes;Y
Button condition
Create 4 dynamic actions:
#2 at region level to hide the button.
These are the settings of the dynamic action.
#1 Default the value (set to null)
#2 Hide the button.
#3 at the checkbox level to show the button when the checbox is changed.
#4 at the checkbox level to refresh the region.
These are the settings of the dynamic action
#3 Show the button
#4 Refresh the region
There's probably a more elegant way of doing this, but it worked for me when a lot of advice on forums did not.
Comments
Post a Comment