Forum Discussion
Reset answer on try again?
Hi Everyone,
Here is how I handle multiple tries/attempts that reset the slide on each attempt. I use one "TryAgain" number variable and some triggers that add value or resets the value and it works for everything. I included directions below and a sample Storyline file (directions are in the file too). The sample has a drag and drop and two select many activities. I created the sample as learning activities, not as a final assessment but you can use it for that too.
I hope it helps. Let me know if you have questions.
Try Again Directions
If you want to create questions or activities that have multiple attempts and will reset the interaction when you try again, meaning it doesn’t remember your previous selections, then you will do the following:
- Create a Number Variable and name it “TryAgain” and set the value to 1.
- On the question/activity slide:
- Set the slide properties to advance by user, when revisiting: “Reset to initial state”
- Uncheck submit button – create your own submit button on the slide with a button trigger that submits the interaction when the user clicks
- “Try Again” layer –
- Create a layer trigger to show “Incorrect” layer if “TryAgain” variable is equal to “2.00”. Note: If you want more than 2 tries just put the number of tries you want here.
- Create a button trigger for your “Try Again” button that adds “1.00” to the “TryAgain” variable when the learner clicks on the button.
- Create a button trigger to Hide this layer when learner clicks it.
- Create a button trigger to Jump to same question slide when learner clicks it.
- “Incorrect” layer –
- Create a layer trigger to set “TryAgain” variable equal to 1 when the user clicks the “Continue” button (if you are not sending them to a “Correct Answers” layer).
- “Correct” Layer
- Create a layer trigger to set “TryAgain” variable equal to 1 when the user clicks the “Continue” button.
- “Correct Answers” Layer
- Create a layer trigger to set “TryAgain” variable equal to 1 when the user clicks the “Continue” button.
Thanks so much for this effective workaround! It worked well. I am noticing, however, that even though my freeform drag and drop is set to 2 attempts, occasionally when I'm previewing the entire course (within Storyline) the Incorrect slide layer shows on first incorrect attempt. It's weird. When I preview the slide (again within Storyline) by itself I can't replicate it. Always takes 2 tries before the Incorrect slide layer appears. Have you experienced this or is there some small detail I'm missing? I know sometimes previewing within the app isn't necessarily a direct representation of a web-hosted course in a browser, but this isn't one of those differences I'd expect to find. Could you please take a peek at my screenshot and see if anything stands out? Thank you so much! Any suggestions greatly appreciated.
- KatieTripoli-8d4 years agoCommunity Member
Melissa - Did you figure out your issue? The same thing is happening to me. When I preview slides, it will get the Try Again slide. But sometimes, those same slides will show the Incorrect slide automatically instead of Try Again for attempt #2. I have checked all triggers and they are all the same. I'm stuck. :-(