Quiz Mod finish event

Re: Quiz Mod finish event

by Omprakash Patel -
Number of replies: 2
Thank You! Hunt, to replay. In general, it's the same. But when a user attempts the quiz, moodle gives option a Finished Button before submit.
Here are screenshots for finished an attempt and submit.

As per moodle, there is no difference, but my client want save data on the click of the finished button too, before submitting and finished.

Thank You! again.  
In reply to Omprakash Patel

Re: Quiz Mod finish event

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Now I understand what you are asking for.

Submitting a quiz in Moodle is a two-stage process. First you click 'Finish attempt ...' which takes you to a summary of your attempt, where you can verify that you have answered all the questions, and then you do 'Submit and finish' to actually submit it.

So, the events are attempt_summary_viewed and attempt_submitted (list of all events here: https://github.com/moodle/moodle/tree/master/mod/quiz/classes/event)
Average of ratings: Useful (2)