Forum Discussion
JolleVerreault
3 years agoCommunity Member
Trigger to disable submit button after failed quiz
When learner gets to the result slide, I have a pass layer and a fail layer. I would like the submit button to be diabled on the fail layer so that the learner has to redo the quiz until he gets a pass mark.
Also, can we see anywhere how many attemps he did?
Thanks for your help :)
- JudyNolletSuper Hero
Do you mean you want to disable the NEXT button on the Results slide until the learner passes the quiz?
For whatever button on the Results slide you want to control, do this:
- On the Failure layer, add a trigger that changes the state of the button to Disabled when the timeline starts.
- On the Success layer, add a trigger that changes the state of the button to Normal when the timeline starts.
You could use a variable to track how many time the learner takes the quiz. However, as I understand it, that info isn't part of the completion data sent to the LMS. You'd need special programming (e.g., JavaScript) to have that available in LMS reports.