Forum Discussion
Variable help
I have this slide that I am trying to allow people to make their choices and I would love for it to reset after the pop up response so they can make a different choice, but I can't seem to get it to work. Any suggestions? Here's the link to show how it is working and I have attached the file.
https://360.articulate.com/review/content/5a7be66a-cc67-44a8-9dc4-951a0cd35a39/review
I suggest you turn this into a Freeform multiple-response question. That would let you set the number of attempts and use the built-in Try Again features.
Here's more info about Freeforms: Storyline 360: Converting an Existing Slide to a Freeform Interaction | Articulate - Community
- JudyNolletSuper Hero
I suggest you turn this into a Freeform multiple-response question. That would let you set the number of attempts and use the built-in Try Again features.
Here's more info about Freeforms: Storyline 360: Converting an Existing Slide to a Freeform Interaction | Articulate - Community
- Nathan_HilliardCommunity Member
Hi Sarah. Do you mean you want to reset the choices and hide the Move On text box after closing the Incorrect lightbox? If so, see the modified project file. An easy way is to creat a T/F variable called reset and toggle it on the Incorrect feedback slide. On the main slide, add triggers to watch for reset to change. Each of these triggers will reset the elements you need to change (the T/F variables, the check box states, and the hidden state for the Move On prompt).
- SarahCooper-b98Community Member
Very cool, Judy and Nathan! I am selecting Judy's as the solution I am using, but I did personally want to learn more about using variables in the process so you both did me a solid!
- JudyNolletSuper Hero
Hi, SarahCooper-b98 : I thought of a way to really simply that slide.
- Use one feedback layer (since the text and audio are basically the same on your Correct and Incorrect slides).
- The Submit buttons shows the layer, and other actions are triggered there.
- Indicate whether the user answered correctly or not by changing the state of an object.
- That state change is based on "None" equals Selected and the other choices do not equal Selected. ("= Normal" isn't a good condition, because all the built-in states are based on Normal.) This means you don't need variables to track the answer.
- A T/F variable is used to track that the user finished the slide. That's used in a condition so the Next button won't be disabled if the user returns to the slide.
- BTW, you wouldn't need a trigger to change an object to Selected. That happens automatically. However, I deleted that state from the Submit button, because it's not necessary.
See for yourself how this works in the attached file.
- SarahCooper-b98Community Member
I will definitely check that out. It's so cool to get direct help.