Quiz Attempts conditioning

Quiz Attempts conditioning

by Jose Velazquez-Torres -
Number of replies: 0

Hello, 

I need to make the attempts of a quiz dependant of the grade the student achieve in that quiz. I want the student to be able to re-attempt the quiz until the student achieve a certain grade. Once the student achieve that minimum grade I want that the student to not be able to re-attempt the quiz. 

I already gather the grade parameters and set it as a grade minimum in the mdl_grade_item DB table but that only marks the activity as complete it but it leaves the re-attempt option available. Is there a way I could manage the attempts to add the condition I'm describing?

Average of ratings: -