Database presets

A collection of database presets for use with the Database activity.

Creating dependent menus

Archive (ZIP) 3 dependent menu

Moodle version:

Educational level: Any

Language: English
Licence: Creative Commons
Tags: Dependent menus, Tips, Examples, Database, Javascript, CSS, Hidden, Dropdown. Search, Layout, Presentation, Continent, Countries

In this session, I will show you how to create a dependent menu with Moodle ‘Database activity’. Sometimes, when you collect information with a ‘Database form’ in Moodle, the 'Add entry' page shows many fields. If this includes some non-compulsory fields, then you can use a dependent menu to reveal relevant fields only. In Moodle2.9, a ‘Database field’ can be made compulsory. However, if you are still using Moodle2.8 or a lower version, a dependent menu can make some fields 'act' as compulsory fields.

Entry added by William Lu - Wednesday, July 8, 2015, 6:30 AM
Last modified - Monday, July 13, 2015, 6:50 AM