I have a fairly complex formula driven by multiple variables that controls the display of one button. I want the opposite of that formula to disable the display of another button, but I can’t figure out what that opposite formula is. Is there a simpler way to tell button 2 to disable its display when button 1 is displayed? Somehow tie the two together?
I was able to get it to work by moving that formula one level removed from the buttons and having it set another variable. Then the buttons look to see if that variable is either true or false. It works, but curious if there is another option? Is it ok to have variables driven by other variables? It’s getting complex, I’m worried about maintainability. Any performance concerns?
You can create a global formula that you can then reuse. You can then bind the button you want to display to that formula. For the other button you can simply bind it to the same formula, but prefixing it with !
which will invert the value. !{{yourFormula}}
That sounds like a better approach. Thanks @luka.