How do I toggle 4 (not just 2)?
Aug 28, 2017
Hello Everyone,
I have an interaction (slide 1.3) where I am combining a layer and toggling t/f to show a different state. For example, FALSE = A and TRUE = B. When previewing the interaction, you must select the "A" radio button first, then you can cycle the up/down buttons to show different numerical values. You can also use the ON/OFF button to toggle A and b.
I have one layer however (layer 02) where I need to toggle between four choices, A, b, C and d. Is there a way to do it? I have included a table and the .story file. Thanks for all of your help.
Terry
12 Replies
Hey Terry, I can't view your Storyline file as I have SL2, but your best bet would be to use a variable in this situation. Set up your 4 buttons that set a variable equal to 4 different values. Example:
Button A sets the variable to 1 when clicked.
Button B sets the variable to 2 when clicked.
and so on....
Then set up some triggers that basically say if A was correct:
if your_variable = 1 after the button is clicked (or a submit button is clicked) then show a correct indication object.
Does this make sense?
Thanks Daniel. For what I am trying to accomplish, I dont think that will work. I have a attached a screen shot so you can get better perspective of what I am doing. When "A" button is clicked, layer 01 appears as well as "A" text changes from hidden to normal. The T/F variable is tied here to show A or b when the on/off button is clicked. For layer 02, i need it to be able to display C and d as well. Just not sure how to accomplish this... may have to set up something entirely different.... just not sure what.
Not sure I fully understand the question you are trying to make, but can you just divide it into 2 separate questions? Send them to the question modified for ON if the button is on and another if the button is OFF.
Here's what I came up with.
Russell... this is BRILLIANT!!. Thank you. One last thing... the learner can get out of this mode by pressing "A" button again. Suggestion for accomplishing that? Thanks again... you da man!
How's this one?
Russell... again...FABULOUS.... just wish I was that smart. Thanks so much!
Russell
I am sorry to ask this, but I have learned that my interaction that you so brilliantly solved for me is now incomplete because of a document revision. I have tried to follow your logic to make the corrections, but your triggers are too complicated for me to follow. What needs to happen is that in addition to setting #2 needing to toggle 4 choices (A, B, C and D), but also does #3, #4 and #13. Additionally, # 9 needs to toggle A, B, C, D, E and F. I don't necessarily want to you solve it for me, but if you could help me understand your trigger logic so that I can fix it. Thanks again for your brilliance!
Terry
I also welcome other insight that might be a simpler solution
Hello Terry
I had to change the logic. Here's another one for you to take a look at.
Absolutely AMAZING Russell!! How can I repay you? Thank you so much.
Terry,
You can repay him by PIAWYC (Pass it along when you can)
I have and will continue to do my best.... I love this community!!
This discussion is closed. You can start a new discussion or contact Articulate Support.