In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to enable/disable a container based on multiple checkbox selections?

akhanna3
5 - Atom

Hello,

 

I am trying to enable/disable a container based on selections of two or more checkboxes. If any checkbox is unselected, the container should be disabled. However, in this example, if I uncheck the first checkbox but check the 2nd one, the container remains enabled. How do I fix this? Thanks

1 REPLY 1
Thableaus
17 - Castor
17 - Castor

Hi @akhanna3 

 

In a case like that it's better to use Radio buttons to avoid multiple selections on the same object that would cause issues.

 

Try something like this

 

Thableaus_0-1592259321256.png

 

 

Connect both checkboxes to the same action tool and change the expression to

 

IF [#1] AND [#2] =='true' THEN 'false'
ELSE 'true' ENDIF

 

Cheers,

 

Labels
Top Solution Authors