Home โ€บ Field Management

Field Management

Fields define every question and input students fill in when making a submission. You can create as many fields as you need, choose from 8 field types, and arrange them in any order. Fields must be configured before students can submit.

๐Ÿ”‘
Required capability: mod/casestudy:managefields โ€” Editing Teacher or Manager role.

Accessing field management

Open the Case Study activity, then click Manage Fields in the activity navigation menu (or secondary navigation).

Activity chooser showing Case Study
The Manage Fields link appears in the activity navigation

Fields management table

The table lists all configured fields in the order students will see them.

Activity chooser showing Case Study
The fields management table โ€” drag rows to reorder
ColumnDescription
โœฅ (drag handle)Drag to reorder โ€” order is saved automatically (no Save button needed)
NameLabel shown to students
Short NameInternal identifier used in templates (e.g., {field_shortname})
TypeField type: text, dropdown, file, etc.
RequiredWhether the field must be filled before submitting
CategoryWhether the field is used for completion rules
ActionsEdit / Clone / Delete

Reordering fields

Drag a row by its โœฅ handle to change its position. The new order is saved immediately via AJAX.

Cloning a field

Click Clone to duplicate a field with the same type and configuration. The clone gets a new unique short name automatically. Useful for repeating similar field patterns.

Deleting a field

โš ๏ธ
Warning: Deleting a field permanently removes it and all student data stored in it. This cannot be undone. Confirm carefully before proceeding.

Adding a field

Click Add field. Select a field type from the list, then configure the field on the next screen.

Activity chooser showing Case Study
Choose a field type when adding a new field

Common settings (all field types)

SettingRequiredDescription
Field NameYesThe label students see next to the input
Short NameYesUnique identifier
Field DescriptionNoHelp text shown beneath the field to clarify what students should enter
Requiredโ€”If ticked, students cannot submit without filling this field
Category Fieldโ€”If ticked, this field's values can be used as completion categories (see Completion Rules)
Show in List Viewโ€”If ticked, this field value appears in the summaries / list table
๐Ÿ’ก
Not all common options are available for every field type โ€” see the per-type details below.

Field types

๐Ÿ“ Text โ€” single line input

A plain text field for short answers: names, codes, titles, etc.

Activity chooser showing Case Study
Text field โ€” edit form

Supports: Required ยท Show in list view


๐Ÿ“„ Textarea โ€” multi-line plain text

A resizable text area for longer free-form answers.

Activity chooser showing Case Study
Textarea field โ€” edit form
SettingDescription
Width (columns)Optional. Default visible width of the text area.
Height (rows)Optional. Default visible height of the text area.

Supports: Required ยท Show in list view


โœจ Rich Text โ€” HTML editor

A full Moodle HTML editor for formatted text, images, links, and embedded files.

Fieldtype richtext
Rich Text field โ€” edit form
SettingDescription
Editor RowsDefault height in rows (minimum 1, default 10)
Maximum File Size (bytes)Maximum size for embedded files. 0 = use site default.
Maximum FilesMaximum number of files. -1 = unlimited.

Supports: Required ยท Show in list view

Does not support: Category (formatted content is too complex for category matching)


๐Ÿ”ฝ Dropdown โ€” single select list

A drop-down menu where students pick exactly one option from a list you define.

Fieldtype dropdown
Dropdown field โ€” enter one option per line
SettingDescription
OptionsOne option per line โ€” these are the choices shown to students

Supports: Required ยท Category ยท Show in list view

๐Ÿ’ก
Use Dropdown or Radio when you want the selected value to drive completion rules โ€” e.g., "require 2 satisfactory submissions in the Business Analysis category".

๐Ÿ”˜ Radio โ€” radio button group

Like Dropdown but displayed as visible radio buttons. Students pick exactly one option.

Fieldtype radio
Radio field โ€” one option per line
SettingDescription
OptionsOne option per line

Supports: Required ยท Category ยท Show in list view


โ˜‘๏ธ Checkbox โ€” multiple selections

A group of checkboxes where students can tick one or more options.

Fieldtype checkbox
Checkbox field โ€” one option per line
SettingDescription
OptionsOne option per line

Supports: Required ยท Category ยท Show in list view


๐Ÿ“Ž File โ€” file upload

Allows students to upload one or more files as part of their submission.

Fieldtype file
File field โ€” configure size, count, and accepted types
SettingDescription
Minimum FilesMinimum required. 0 = none required (default)
Maximum FilesMaximum allowed. 0 = unlimited
Maximum File Size (bytes)Per-file size limit. 0 = no limit
Accepted File TypesComma-separated extensions or MIME types (e.g., .pdf,.docx). Leave blank to allow any type.

Supports: Required ยท Show in list view

Does not support: Category


๐Ÿ“Œ Section Heading โ€” visual divider

Displays a styled heading to divide the submission form into named sections. It collects no data from students.

Fieldtype section heading
Section Heading field โ€” purely structural
๐Ÿ“Œ
Section headings do not appear in list view, cannot be required, and cannot be used as category fields. Use them purely to organise long forms.

Best practices