Moodle Help & Support 

This refers to Moodle 3.11 from August 2022 onwards

How to allow students to self-enrol on a module and into a given group

Placing students into groups is useful for module administration and for organising activity on your module. Students can be placed into groups automatically if they are able to self-enrol on a module. 

Example: A Community module is open to both undergraduates and postgraduates but you want some material to be available only to Postgraduates.

A course is taught to students from two different modules together (parent module). Most of the material is for both sets of students, but you'd like the assignments to be visible only to the relevant students taking the relevant module

Here’s how.

Enabling groups in a module

To enable Groups in your course:

  1. Navigate to the Moodle module you want to work in.
  2. Select the 'Actions cogwheel' icon and select 'Edit Settings'
  3. Open the Groups section
  4. From the "Group mode" dropdown, select either 'Visible groups' or 'Separate groups' (i.e members of the groups can see each other's activity or not).
  5. Click 'Save and Display'

Group settings

To set up the groups and members (with joining password)

  1. Click the 'Hamburger menu' and select Participants

Participants in Hamburger menu

 2. Click the 'Actions cogwheel' icon and select 'Groups'

Groups option in action cogwheel menu

3. Click on the 'Create group' button

Create group button

4. Give the group a name, In our example it would be 'Project Group A'

Giving a new group a name

5. Next to the box marked Joining Password click and add in a password (press return to save).  
Note: This password is the one used by students to join this group at the module self-enrolment screen.
Click the "eye" to reveal the detail of the password, if necessary.

Adding a joining password

6. Click on 'Save changes' and the new group will appear in the left-hand column.

7.. Repeat for as many groups as you need. (You can also set Moodle to generate a number of similarly named groups automatically)

Creating your self-enrolment methods

  1. On your module, open the 'Hamburger menu' and select Participants
  2. In the 'Actions cogwheel menu' on the Participants page, select 'Enrolment methods'
  3. From the "Add method" dropdown, select 'Self enrolment'

Add method dropdown

You will then be taken to the settings page for the self-enrolment method.

Self enrolment settings

4. The only fields you should need to change are:  

    1. "Custom instance name": Enter a name for the enrolment method that will be visible to participants e.g. 'Join this module', 
    2. "Joining password": Even though you may not use it, a password needs to be entered here in addition to the group passwords set in Groups (they have different functions). The Joining and group passwords cannot be the same. This ensures the enrolment key field for module participation shows when participants go to the module to join; participants do not need this password, they only need the group one. It also prevents people joining the module without being in one of the groups you have created.  Our help page for configuring self-enrolment.
    3. "Use group joining password": Make sure this is set to 'Yes'.  This enables the group passwords previously set to be used as enrolment keys.

5. Once you have configured your self-enrolment method click on the 'Add method' button at the bottom of the screen to save your changes.

Enrolling on the module into a group

Students can join the module by navigating to it and entering the password set for the group. In the example below, a group has been created called 'Project Group A' and a password was distributed to PGR participants. There is also a separate self-enrolment option (Enrolment Extra for other users not in that particular group).

Access options for a module

The student, when enrolling, enters the Group password rather than the self-enrolment password and is enrolled and immediately added automatically to Project Group A

Student automatically enrolled into group

See also:

How do I self-enrol on a module?

How to create a forum with group