Dynamic Dropdown menu

Custom field ::: customfield_dynamic
Maintained by Sooraj 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.
Latest release:
158 sites
42 downloads
12 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

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

Comments RSS

显示评论
  • Plugins bot
    2020年10月30日 星期五 02:30
    Approval issue created: CONTRIB-8285
  • Jack Eapen
    2020年12月8日 星期二 15:13
    Hi, is this for user profile field OR course field? where to copy the files?
  • Sooraj Singh
    2020年12月9日 星期三 23:57
    This is a Course custom field Plugin
  • Edukacija.net mentor
    2022年05月18日 星期三 18:40
    Hi!

    This plugin is great, but we experience an issue with copying a course (try /backup/copy.php - this is a copy feature on the Course and category management page), when there is a dynamic custom field added. There is an error 'Failed to load course'. When we remove all dynamic custom field, copy works fine.

    Can you check and comment on the possible solution?

    Thanks!
  • Karel Janssen
    2023年09月14日 星期四 17:33
    Hi! I wanted to add an extra field to courses to contain the physical location of the course, this plugin is just perfect for it. However, it does seem to break the app. Invalidresponse error, expected scalar and got an array of object. Are there any plans to continue support on this plugin?
  • Annie H.
    2025年04月13日 星期日 06:08
    Hi, using dynamic dropdwon fields sound really interesting. I wonder why this plugin is not up to date? Are there any plans to update it to 4.5.3 or higher? Best wishes Annie
Please login to post comments