Moodle Plugins directory: Multi-value | Moodle.org
Multi-value
A Moodle plugin that adds a multi-value field type to Moodle's modern customfield_* API — available anywhere Moodle uses that API: courses, programs, certifications, and more.
Moodle's built-in custom field types include text, number, checkbox, date, and single-select. There is no built-in option for selecting multiple values from a defined list. If you need to tag a course with multiple categories, topics, roles, or attributes from a fixed option list, the standard field types can't do it cleanly.
customfield_multivalue adds a multi-value field type that integrates natively with Moodle's customfield_* API. Once installed, it appears alongside the built-in field types wherever custom fields are configured — course settings, Workplace programs, Workplace certifications, and any other component that uses the modern customfield system.
- Select one or more values from an administrator-defined options list
- Options list is configured per-field (one option per line in the field settings)
- Stored as a comma-separated string — queryable with standard SQL (
FIND_IN_SET) - Supports empty selection (stores empty string, not NULL)
- Works anywhere Moodle's modern
customfield_*API is used - Compatible with Moodle 5.0+
Comments