"Counting" Variable Jumping After Retry Quiz
After retrying quizzes, my counting function will skip 1 and throw off the counter.
I added a counting function to my quizzes so that the user knows what question number they are on. The question order is randomized, so a variable is required. Here is how it works:
Variable starts at 0 (Question 0 of 20)
First question slide adds 1.00 at the beginning of the slide (1/20)
Last question (20/20)
Review slide resets 0/20
Retry Quiz; First question (Reset to Initial State) slide adds 1.00 at the beginning of the slide (1/20)
Now, at some point throughout this attempt counting will skip a number. Ex. 12 456... ALWAYS this attempt will end with the final slide reading 21/20. All subsequent quiz attempts will have the same result. Each time the skip will occur at a different place in the exam (beginning/middle/end). The slide that the skip occurs on and the slides surrounding that skipped slide also vary.