Hi everyone!
I am creating a quiz (5 questions only, 4 possible answers each question).
The idea is that as users click one of the options, the colour of the buttons change to show if they are right/wrong. That has been the easy part.
I want, however, to display the final result after the users click on their answer for the final question.
This sketch may help you understand:
For each possible answer I have set the following interactions:
- “OnClick”, Set Panel State to “Q1 Answer x” (and that then changes the colour of the button, depending on weather the answer is right or wrong)
- “OnClick” Set variable Value “Q1 Answer to” 1 (if correct) or “” (if wrong).
Now the logic behind this would be that the results would tally up as the options are clicked once the user answers the last question, the panel with the result would show up.
Does any one know how to do this?
How do I create the logic for this?
Any input is appreciated.
Thanks a lot!
Rita P.