Conditional field

User profile fields ::: profilefield_conditional
Maintained by Shamim Rezaie
A drop-down menu field that shows/hides some other custom profile fields depending on its selected value.

Conditional field 1.5

Moodle 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Wednesday, 30 April 2025, 9:48 AM

Version 1.5

  • A new option is added to clear hidden fields
  • Conditions are applied even when the conditional field is locked
  • Minor bug fixes and improvements

Version 1.4

  • Support PHP 8
  • Add scrollbars to the configuration modal when there are many options
  • Validation is bypassed during user upload via CSV
  • Minor bug fixes and improvements

Version 1.3

  • Updated the plugin for Moodle 3.11+

Version 1.2

  • Updated the plugin for Moodle 3.8+
  • Added GDPR implementation

Version 1.1

  • Added support for special characters (single and double quotes) in menu options.

Version 1.0 (Initial version)

The conditional profile field plugin is an advanced version of the dropdown menu profile field type in which you can decide to hide/show some other profile fields or even make them required based on the value selected for this field.

This plugin enables you to design dynamic signup/profile pages.

Version information

Version build number
2025043000
Version release name
1.5
Maturity
Stable version
MD5 Sum
eb670088a108fd64e0507951a9cde1ec
Supported software
Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type User profile fields

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myfield") in the "user/profile/field" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation