Forum Discussion
Resetting a Variable on Retry Quiz Button
Thanks Judy, I tried what you explained and it still doesn't work. It totals the number of points each question is worth:
I used quizscorepoints and quizpasspoints neither worked :(
Do you have more than one Results slide in the course? If so, you might be referencing the wrong variable.
Did you duplicate or import the Results slide? If so, that might be the problem. (Because inserting a Results slide automatically creates the appropriate built-in variables, a Results slide that is duplicated or imported usually won't work correctly.)
It's virtually impossible to troubleshoot without seeing the .story file. Here are the best practices for uploading a .story file:
- Only include slides that are involved in the problem.
- Be sure all objects, layers, motion paths, and variables have meaningful names.
- If there is proprietary content, replace or delete it. For example, replace proprietary text with ipsum lorem text.
- Be sure to clearly describe the following (in the file and/or in the question posted in the discussion):
- What you want to happen
- What is not happening that should happen
- What is happening that shouldn’t happen
- What you have tried
- MarissaSterl11 months agoCommunity Member
Thank you Judy, appreciate your determination to help me. Here is the file. I just need the ratio of "questions answered correctly/total number of questions" i.e. x/9 to appear on the results screen whether they pass or fail. As you will see in the file learners have the opportunity to Review their answers before submitting for a grade and then again after they receive their grade. They also have an opportunity to Retry regardless of their grade. I created a questionscorrect variable and and on the results slide set it to set it's value back to 0 when the learner clicks the Retry button. When I test it, the ratio is correctly displayed when the learner attempts the quiz the first time but it just keeps adding to the previous number if they Retry (for example first try 8/9, Retry 16/9). Hope this helps, I left the variable in and the ratio place holder on the Results slide.