I'd like to make a datacard visible whenever two toggles are on yes. Say you have toggle 1 and 2.
Toggle 1 makes toggle 2 visible. Toggle 2 makes the datacard visible. If toggle 1 says no, I want the datacard to be invisible regardless of toggle 2. There are wo ways I could do this:
- Make the datacard's visibility dependent on toggle 1 and 2
- Set toggle 2 to be no whenever toggle 1 is on no
I don't know how to do either. I tried using an if statement on the Default property of the datacard: if(toggle1.value = "Yes", True, False) but I get an error. I also tried If(toggle1.value = "Yes" & toggle2.value = "Yes" , True, False)