Custom field: Dynamic Dropdown menu

customfield_dynamic
Maintained by Picture of Sooraj SinghSooraj Singh
This plugin is Course custom field Plugin and provides a new dynamic select/multi-select type custom field that takes input as SQL query and makes the select field based on the output of SQL query.
29 sites
112 downloads
5 fans
Current versions available: 1

This is a Course custom field Plugin that basically provides a way to add a dynamic select/multi-select custom field to store information related to the course which takes input as SQL query and makes the select field based on the output of SQL query.

Installation

Intall this plugin directly from UI. Site Administration => Plugin => install plugin 

OR copy the folder to your-moodle/customfield/field/

Use

    1) Add Dynamic Dropdown Menu field in Course customField
    2) In the SQL query field, enter the SQL statement with two select field id and data
        For Eg: select id, data from table_name
    3) Check the "Enable auto-complete mode" option if required.
    4) Check the "Enable Multi-select" option if required.
    5) For Multi-select, the default value can have multiple values in comma-separated format
	otherwise enter a single value.
    6) Now add / edit a course and select the option from dropdown menu

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

Picture of Sooraj Singh
Sooraj Singh (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Fri, Oct 30, 2020, 2:30 AM
    Approval issue created: CONTRIB-8285
  • Picture of Jack Eapen
    Tue, Dec 8, 2020, 3:13 PM
    Hi, is this for user profile field OR course field? where to copy the files?
  • Picture of Sooraj Singh
    Wed, Dec 9, 2020, 11:57 PM
    This is a Course custom field Plugin
Please login to post comments