Forum Discussion
Resetting a Variable on Retry Quiz Button
Here's a simpler way to show the number of correctly answered questions:
In FORM VIEW on each question, change the Points value to 1.
When every question is worth 1 point, the built-in [Quiz].ScorePoints variable will be the number of correctly answered questions. So you can display that variable, and it will reset automatically every time the user retakes the quiz.
Obviously, this won't work if you have weighted questions or responses. But if the current questions are all worth the default 10 points (with no partial scores on multiple-choice questions), then making them all worth 1 point will give you same % score.
- MarissaSterl11 months agoCommunity Member
Thanks Judy, unfortunately each question is worth 5 points. She wants to show the learner the percentage AND the number of correctly answered questions :( i.e. 80% (16/20)