When re enrol user into course(moodle version 3.1)

When re enrol user into course(moodle version 3.1)

per Ruchi Chauhan,
Number of replies: 2

I have one quiz in a course. and user can attempt quiz once.  I want when i un-enroll user from course and re enrol into course then user should have option to attempt that quiz again but his previous attempt record should be there

Average of ratings: -
In reply to Ruchi Chauhan

Re: When re enrol user into course(moodle version 3.1)

per Eric Merrill,
Avatar Core developers Avatar Moodle HQ Avatar Peer reviewers Avatar Plugin developers Avatar Testers

When you go to enrol them, expand 'enrollment options' and uncheck 'Recover user's old grades if possible'

In reply to Ruchi Chauhan

Re: When re enrol user into course(moodle version 3.1)

per Just H,

I think you'd need to set up an override for that student; recovering grades when re-enroling would mean the quiz has already been attempted.

Is this for annual compliance training or similar by any chance?