you could use a number variable that counts each time they click the 'Retry' button and then use a trigger to show the fail layer when the number variable reaches 3.
Create a number variable e.g. quizAttempts with a default value of 1 (I do this because the first time they go through the quiz is their first attempt)
Add a trigger to the Retry Quiz button : Adjust variable quizAttempts add + 1 when user clicks the Retry Quiz button. (Make sure this trigger is above the jump to quiz slide)
Add another trigger to the Result slide: Show fail layer when timeline starts on Result slide on condition that Results Score Points < Results Pass Points AND quizAttempts = 3.
Add another trigger to the Result slide: Show fail layer when timeline starts on Result slide on condition that Results Score Points < Results Pass Points AND quizAttempts = 3.
Hey, Wendy, I followed these steps exactly for a different project but noticed my Failure layer didn't show up at all. And I guess that's because the logic I quoted above in step 3 says =3.
To get the Failure layer to show up should it be <=3? That way, if the learner fails on attempt 1 and attempt 2, they still get the Failure layer.
I sometimes use an interim layer that doesn't say Fail - (like a Try Again) and only show the actual fail layer on the third attempt which is what I was quoting above.
6 Replies
Sure Isabella
you could use a number variable that counts each time they click the 'Retry' button and then use a trigger to show the fail layer when the number variable reaches 3.
Hope that helps
Helped a lot!
Thanks, Wendy!
Great Isabella - all the best with your project :-)
Hey, Wendy, I followed these steps exactly for a different project but noticed my Failure layer didn't show up at all. And I guess that's because the logic I quoted above in step 3 says =3.
To get the Failure layer to show up should it be <=3? That way, if the learner fails on attempt 1 and attempt 2, they still get the Failure layer.
Hi Heather
you are correct for your logic...
I sometimes use an interim layer that doesn't say Fail - (like a Try Again) and only show the actual fail layer on the third attempt which is what I was quoting above.
Gotcha! Thanks!
This discussion is closed. You can start a new discussion or contact Articulate Support.