Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Activity completion settings.

Activity completion settings

From MoodleDocs

Activity settings

Depending on the type of activity, there are different completion requirements. For example, a Page might have the requirement to require view; a Quiz might have the requirement to require grade while a Forum might have the requirement to require posts/discussions/replies.

Completion tracking

There are three options:

  • Do not indicate activity completion - this will not show checks (ticks) next to the activity
  • Students can manually mark the activity as completed - students press the check (tick) to change it. (Note: they can do this even without doing the activity!)
  • Show activity as complete when conditions are met - the selected completion criteria must be met before the check (tick) will change style

Require view

When this option is turned on, students have to view the activity in order to complete it.

  • In most cases, clicking the link is enough to 'view' the activity.
  • You should usually not turn on the 'view' condition if you have other requirements - this makes extra work for the server and it's unlikely that a student could meet any other conditions without viewing the activity.

Require grade

When this option is turned on, students have to get a grade on the activity in order to complete it. For example, a quiz would be marked completed as soon as the user submits it (so long as it doesn't contain any "essay" questions).

It does not matter how well the student did. Getting any grade will mark the activity completed.

Setting a grade to pass for a quiz

New feature
in Moodle 2.8!

It is possible to distinguish between 'pass' and 'fail' grades so that a quiz becomes 'completed, passed' or 'completed, not passed' instead of just 'completed'. These results show a different icon and alternative text.

To set this up, you need to specify the pass value for the quiz activity's individual grade:

  1. Go to the course gradebook by clicking the 'Grades' link on the course administration block
  2. Go to 'Categories and items' under Setup
  3. Click the Edit settings link for the grade item for the quiz
  4. In the Grade item section click 'Show more...'
  5. Enter a grade value (e.g. 5.0) in the 'Grade to pass' box
  6. Click the 'Save changes' button

Once you have done this, anybody submitting the quiz will receive either the pass or fail completion icon. If the quiz can be taken multiple times, the completion icon will automatically update whenever the grade does.

There is one limitation: this only works if grades are immediately visible to students. The grade must be neither permanently hidden, nor hidden until a certain date. If a grade is hidden then only the standard 'completed' state will be displayed - even once the hidden date has passed.

Quiz completion settings

The following settings are specific to the quiz:


Require passing grade

If a 'Grade to pass' is set for the quiz then it will be marked complete once the student obtains this grade.

All available attempts completed

If a certain number of attempts are allowed, the quiz may be marked complete once the student has done them all (even if, for example, they did not achieve the passing grade.)

Require submission

This setting appears in assignments and means that an assignment may be considered as completed once the student has submitted - but before the teacher has had time to grade it.

Expect completed on

The date is not shown to students and is only displayed in the Activity completion report.

Require posts

This setting is seen in forums. For the forum to be classed as "complete" the student must either start a discussion or reply to a discussion. The number of posts they must make can be specified in the box.

Require discussions

This setting is seen in forums. For the forum to be classed as "complete", the student must start a discussion topic. The number of posts they must make can be specified in the box.

Require replies

This setting is seen in forums. For the forum to be classed as "complete" the student must reply to a discussion. The number of posts they must make can be specified in the box.

Locked completion options

If at least one person has completed an activity, completion options are 'locked'. This is because changing these options may result in unexpected behaviour. For example, if somebody has ticked an activity as manually completed, and you then set it to automatic completion, the activity will become unticked - very confusing for the student who had already ticked it!

Tip: It is best not to unlock options unless you are sure it won't cause problems - for example, if you know that students don't have access to the course yet, so it will only be staff who have marked the activity completed when testing.

What happens when you unlock

Once you unlock options and then click 'Save changes', all completion information for the activity will be deleted and, if possible, regenerated according to the new settings.

  • If the new completion option is manual, everyone will be set to 'not completed' regardless of any previous setting.
  • If it is automatic then, depending on the options chosen, the system may or may not be able to construct a correct current value for everyone.
    • The 'viewed' requirement will not work - even if a student has viewed the activity before, it will not be marked completed until they view it again.
    • Most other options will be recalculated successfully.

If you change completion options while a student is logged in, they may not see the changes for some minutes.

Required site settings

To use activity completion, the feature needs to be enabled for the site by an administrator as follows:

  • In Administration > Site administration > Advanced features check the "Enable completion tracking" box.
  • The admin may also set the default completion tracking setting when adding new activities, choosing from 'Do not indicate completion' or ' Use activity default'
Selecting the default completion tracking setting
  • Click the 'Save changes' button
Tip: The default Cron trigger for activity completion is every 10 minutes. Students and Teachers often think any course completion should instantly show up in a report.

Required course settings

Administration > Course administration > Edit settings and look for the Completion tracking section.

You must enable this setting.