moodle-an-hochschulen / moodle-local_profilecohort

Moodle plugin which lets admins manage cohort memberships based on users' custom profile fields
GNU General Public License v3.0
23 stars 19 forks source link

Add 2 conditions to a rule #15

Closed ecampbell closed 6 years ago

ecampbell commented 6 years ago

I tried this plugin out on Moodle 3.1 so I'm not sure if it worked as intended. I would like to be able to set 2 conditions before a user is added to a cohort, such as "Custom Profile Field 1 is set to X" AND "Custom Profile Field 2 is set to Y". Is this possible? A good example of what I mean is in the Enrol Attributes plugin at https://moodle.org/plugins/enrol_attributes

ecampbell commented 6 years ago

To answer my own question, you can add 2 conditions in 3.4

abias commented 6 years ago

Eoin, I'm happy that you could help yourself.