Clicking button only changes variable once then stops working
May 30, 2019
I have hit a wall with something that should be incredibly simple but doesn't seem possible. I have a variable, TaskB1, that I want to eventually contain different text values throughout the course. At the beginning, I want users to be able to set a value of Yes or blank to it by clicking a button. So, I create two triggers for the button:
- Set TaskB1 equal to Yes when the user clicks the button if TaskB1 = [blank]
- Set TaskB2 equal to [blank] when the user clicks the button if TaskB1 = Yes
VERY straightforward, right? When I click the button the first time, TaskB1 should be set to "yes." If the user then changes their mind they should again be able to click the button to change the value back to [blank]. However, it doesn't work. The order of the triggers shouldn't matter, they should both be evaluated and execute every time the user clicks the button.
Can someone please tell me what I'm doing wrong or (more likely) this is a bug? It is preventing me from creating a course where simple logic should work.