Hello, I’m trying to hide a button until a certain answer from another screen is correct, either in multiple choice or math input. How do I do this?
Use the disabled
sink using whatever condition you want it to be disabled.It’ll show the button, but unable to use it. For example, if check
was an input variable that was true or false based on your correctness criteria:
disabled: inputName.script.check = false
Sometimes it’s not enough to disable the button. Sometimes you really do want it to not appear there at all. I’ve run into this issue myself.
To do this, simply use the hidden
key word. Exactly like what @Daniel_Grubbs was just saying but resulting in a different behaviour.