Forum Discussion
Going back to the last saved position of a slider
- 4 months ago
Thank you so much Judy, my problem is solved!
Thanks for taking the time to clean up your .story file to only include what's needed for troubleshooting. And thanks for clarifying that the layers had buttons to jump to other slides. I had misunderstood it as jumping to other layers on the same slide.
So here's what I found by looking at your file.
Layer 1 shows when the user returns to the slide because there's a trigger to show that layer when the timeline starts.
- The fix: Add a condition to the trigger so it only happens if the value of the slider's variable = 1. (Note: In my edited version of the file, I also changed the trigger to happen when the timeline of the slide starts, rather than the timeline of the slider.)
The Slide Properties were set to "Automatically decide" when the user revisits. That's a great options for question slides that use built-in functions. But for custom interactions, the program doesn't always make the best decision. It was deciding to not show any layers on revisiting.
- The fix: I set the Slide Properties to "Resume saved state."
Those changes are done in the attached file. I also added a trigger to show layer 1 when the slider moves if the value = 1. That allows someone to return to step 1 if they want to.
One more note: there's a trigger that changes the continue/next button to Normal when the slide moves if the value = 10. That means the button will be Normal even if the user immediately moves the slider to 10 (without stopping at the other numbers). If you want to require the user to view all the steps, I suggest using variables to track their progress. You can find details in the demo file for this post Controlling the Next Button.
Thank you so much Judy, my problem is solved!