Multi-value

Custom field ::: customfield_multivalue
Maintained by Darrel Tenter
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.
Latest release:
3 sites
46 downloads
1 fans
Current versions available: 2

Multi-Value Custom Field for Moodle

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.

The Problem

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.

The Solution

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.

Features

  • 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+

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Darrel Tenter (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments