Total Variable Trouble
Oct 21, 2019
Hello All,
I have created a course that uses totals to answer scenario questions through a scoring scale. The user adds the numbers with a %Total% at the end. The first scenario works fine. The second, however pulls the total from the first scenario. When I click my reset button, it zeroes it out, but will not add again.
How do I get each scenario to reset the total to 0 and allow the user to add again? I have tried resetting the Total variable to 0 when the timeline starts.
My file is attached without failed fixes in place.
Thank you.
6 Replies
The way I typically do this is to set all the variables to zero when the timeline starts. You did this except for the TOTAL, so add a trigger to set that to zero as well when the timeline starts.
Then, on the RESET button, you can remove all the triggers except one, make it a JUMP to slide 1.3 (you specifically set the jump to slide itself so it is saying "come here anew").
Lastly, change the slide setting to "Reset to initial state" when revisiting.
This has the cool effect of not only setting everything to zero, but making your layer hide without needing additional triggers.
Jerry,
Thank you for your response. When I performed these operations, the jump to slide works great. However, when I try and perform a new calculation, the answer remains 0 on the second attempt? Ideas?
If you'd like to post the updated story, I'll happily take a look.
I appreciate your help.
I deleted all the entries except for the Numeric Entry boxes and the "calculate" and "reset" buttons at the end, and it works very nicely now.
Jerry,
You are a lifesaver. Thank you for taking the time to guide me through this.
This discussion is closed. You can start a new discussion or contact Articulate Support.