I have 3 groups of questions. Each group has either a yes or no answer. I’ve set up the following in the Score Quiz section:
In group A if they select yes it counts as 3 points (8 questions, total possible 24)
In group B if they select yes it counts as 2 points (6 questions, total possible 12)
In group C if they select it counts as 1 point (3 questions, total possible 3 points).
I want to calculate the percentage total for each group (and one overall score)
I found the very useful article by John here on how to do percentage scores
I have set up the correct variable so I have a GroupA, GroupB and GroupC variable set as a number with the value 0. .
The problem seems to be the @score is cumulative and somewhat unpredictable.
If I put logic in for Group A on each question where I say if “question” =yes then @score + @GroupA , I get a result of 108 for all of Group A
Is there a way of resetting @score to zero before the logic on the first question on each group so I know it starts at 0.
Also any idea why I get 108 in Group A, instead of the expected 24, when I choose yes for all questions.
I’ve tried to make this clear so apologies if it’s confusing!