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,

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels