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:
681 sites
70 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
  • Mark Flores Rusco
    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.
  • Dave P
    Wed, Jul 14, 2021, 8:39 AM
    I'm having the same issue as Hay B - unable to configure conditions in moodle 3.11
  • James Peter
    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.
  • Davide Soncin
    Tue, Oct 12, 2021, 8:38 PM
    the plugin not works. The 'Configure conditions' not open the configurator...
  • Daniel Neis Araujo
    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?

  • Shamim Rezaie
    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.
  • Ezzeddin Hamed
    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!
  • Ezzeddin Hamed
    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
  • Rehab Ayman
    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
  • John Anderson
    Sat, May 28, 2022, 8:24 PM
    Hi, looks super useful - has anyone tried /tested with M 4.0 ?
  • Rashid Marzett
    Fri, Sep 2, 2022, 5:10 AM
    Love the plugin and it works, there one problem tho, if you put too many fields and go to conditions you cant scroll down in the menu
  • stephanridgway
    Fri, Oct 28, 2022, 11:23 AM
    Fantastic plugin, we have used it for some years without issue, any plans to release an update to support Moodle 4.0?
  • Ezzeddin Hamed
    Sun, Dec 4, 2022, 1:20 PM
    @Rehab Did work for you on version 3.11.4? At my side it did not work.
  • Ezzeddin Hamed
    Mon, May 8, 2023, 8:53 PM
    With the release of version 1.4 of this plugin, everything works fine on latest Moodle versions.

    Brilliant, thanks Shamim
1 2 3
Please login to post comments