I need some help, I've been searching for an answer this afternoon but didn't find one that could help me on this...
I did a true and false quiz and added some feedback layers: -correct -incorrect -help How do I make the help layer appears on the 3rd incorrect attempt?
You will need to track how many attempts the user has had at the quiz question and so will need to define a number variable called something like "attempts".
Set the variable "attempts" to 0 (zero) when timeline starts on the quiz question slide.
Each time the "incorrect" layer is shown, on timeline start, +1 to the variable "attempts".
On the "incorrect" layer, on timeline start, directly after you +1 to the variable "attempts", show layer "help" if "attempts" equals 3 (or greater than and equal to 3 if you want "help" to show from this point on).
Ensure that layer "help" hides all other layers so that the "incorrect" layer is hidden.
4 Replies
Hi Mél,
You will need to track how many attempts the user has had at the quiz question and so will need to define a number variable called something like "attempts".
Set the variable "attempts" to 0 (zero) when timeline starts on the quiz question slide.
Each time the "incorrect" layer is shown, on timeline start, +1 to the variable "attempts".
On the "incorrect" layer, on timeline start, directly after you +1 to the variable "attempts", show layer "help" if "attempts" equals 3 (or greater than and equal to 3 if you want "help" to show from this point on).
Ensure that layer "help" hides all other layers so that the "incorrect" layer is hidden.
Thanks,
Sam
Thank you for your response,
I have sucessfully done it. However, is there a way that the number 1 of the variable does not appear on the quiz slide ?
And how do I get the quiz answers to reset when learners trie for the second time?
Thank you :)
Hi Mél, can you explain the "number 1 appearing on the quiz slide". I'm not sure what that is?
You could reset the question options, just by updating the "state" of the options to "normal" when you close the layer.
It's ok I solved the problem about the variable. Thank you for your response.
This discussion is closed. You can start a new discussion or contact Articulate Support.