Check box states in Storyline 2
Nov 20, 2014
By
Paul Brennan
Hi, I wonder if anyone can help. I have set up four checkboxes and four rectangles which are initially hidden to appear when the user selects each checkbox. So far so good. But I also want the rectangle to disappear when I uncheck the box. I assumed I could do it the same way by using a trigger to change the state of the rectangle to hidden when the checkbox is disabled, but that doesn't do it. Am I missing something or is there a better way to do it? Any suggestions welcome
9 Replies
Hi Paul,
The most reliable way to do this is to set up a T/F variable (say 1, 2, 3, 4) for each rectangle, then create a trigger in the form of adjust value of variable 1 to NOT assignment when user clicks checkbox 1, then add two more triggers in the form of change state of rectangle 1 to hidden when user clicks checkbox 1 and checkbox 1==true and change state of rectangle 1 to normal when user clicks checkbox 1 and checkbox 1==false. Set initial state of the rectangle to hidden. Rinse and repeat for the other three checkboxes/rectangles.
Hope this helps,
Alex
Hey Paul. You need to make the condition on the "hide" trigger to when check box is not equal to selected. I have attached an example. Hope this helps.
There must be something wrong with you trigger setup. See attached a quick example that toggles rectangles based on the state of a corresponding checkbox
Doh! Cheers guys, seems blindingly obvious now. Appreciate the help
Glad that you were able to get the assistance that you needed Paul :)
you guys rock! am crying while writing this :)
Only happy tears allowed Sumit :)
Glad that this thread was able to assist you as well. Thanks for popping in to share.
Thank you so much! This was so very useful!
So glad this was able to help you out as well Dawn. Thanks for chiming in to share :)
Welcome to E-Learning Heroes by the way!
This discussion is closed. You can start a new discussion or contact Articulate Support.