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.
Latest release:
576 sites
60 fans
Current versions available: 3

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 based on the value selected for this field.

This allows you designing dynamic signup/profile pages.

You can also set some other fields to be required based on the selected value for this field.

If this plugin makes your life easier, you can treat me a coffee smile

Buy Me a Coffee at


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


Shamim Rezaie (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Sep 9, 2020, 5:21 PM
    Hi. I'm usind moodle 3.9. I would like to add 3 security questions fields into sign up page, and also 3 fields for answers under these question fields. when a user click on first security question field and choose a question from drop-down menu, then answer field will appear to write the answer. How can I do that?
  • Thu, Jan 7, 2021, 10:12 AM
    I will buy you a coffee if you will update this plugin to current versions. It's very useful smile
  • Mon, Jan 18, 2021, 10:40 PM
    The plugin is now updated
  • Thu, Jun 24, 2021, 12:08 AM
    Hi, I´m trying the plugin on Moodle 3.11 and the Configure Conditions box is coming up as greyed out so I can't input any conditions. Any ideas why this might be? Thanks.
  • Sun, Jul 11, 2021, 12:26 AM
    Thank you very much for this plugin, We're hoping to have an update for Moodle V3.11. Thanks much.
  • Wed, Jul 14, 2021, 8:39 AM
    I'm having the same issue as Hay B - unable to configure conditions in moodle 3.11
  • Thu, Jul 22, 2021, 7:47 AM
    I am facing an issue while bulk user upload
    All the fields are correct. But if we are adding any field data with conditional visibility in the signup page, its showing an error while uploading in the status column like below even the required field already there with correct data

    "Please fill the Job Category field. It cannot be left empty based on the value you selected here. (profile_field_User_Category)"
    if we remove the field data for "(profile_field_User_Category)" as the scenario here, everything going well!

    How to solve this issue.
  • Tue, Oct 12, 2021, 8:38 PM
    the plugin not works. The 'Configure conditions' not open the configurator...
  • Wed, Dec 8, 2021, 5:38 AM
    Hello, Shamin
    Thank you for this awesome plugin!
    It looks like that version 3.11 change to use ModalForms have break your plugin.
    I was trying to fix it but found no way until now and people are not answering me on forums or Telegram.
    Maybe you can talk to someone at HQ to help us?

  • Tue, Dec 14, 2021, 1:08 PM
    Hi Daniel,
    Thank you for reporting the issue. This plugin needs a major update to be compatible with the latest versions.
  • Wed, Dec 22, 2021, 12:25 AM
    Hi Shamim,

    This is a wonderful plugin, I used it on Moodle 3.8 on which it is working fine, but the problem is on Moodle 3.11 that does not work. Any idea when this could be solved?
  • Iron Man
    Thu, Jan 27, 2022, 7:31 PM
    Hi Shamin,
    I integrated this plugin into our production Moodle last year. We'd like very much to upgrade to 4.0 when it'll be stable (ideally july 2022). I'll buy you a few coffees if you're able to port this plugin to Moodle 4.0! Thanks!
  • Wed, Feb 2, 2022, 12:25 AM
    Before 3 days, I noticed that the latest release was 2 days earlier, I thought there is an update to latest version and it was a good reason to install it, but again it is not working on Moodle 3.11.4. Any ideas when this would be fixed. I think many others are waiting for it too.

    Thanks so much
  • Tue, May 10, 2022, 7:03 PM
    I have a conditional field and a dependent field that should show/hide based on the conditional field value.
    If I chose the show value then the hide value then the show value again, the dependent field appears with a number of required red flags equals to the number of times I decided to switch between values. Any Help?
    I am running moodle 3.11.4
  • Sat, May 28, 2022, 8:24 PM
    Hi, looks super useful - has anyone tried /tested with M 4.0 ?
1 2 3
Please login to post comments