Multi-value

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.
Price option: Free

Supports Moodle 4.4-5.1 See all versions
Latest release: 3 months ago
Installations: 17
Downloads (last 90 days): 169

Frankenstyle name: customfield_multivalue
Custom field

Description

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+

Contributors

Awards

Privacy friendly