Moodle plugins directory: Conditional field | Moodle.org
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:
696 sites
256 downloads
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
Contributors
Shamim Rezaie (Lead maintainer)
Please login to view contributors details and/or to contact them
does this plugins offer the feature to show/hide custom fields (or custom category of fields) by role (or by user) ?
imagine i need to not show/hide extra-field (of user profil) depending of the current user role.
Example :
the teachers don't have to see/access to the socials fields
the medical team don't need to access to accounting fields but need to have his "own" fields (like health problem, vaccine,..)
the foad team don't need to access to social fields nor accounting ones neither medical fields !
does this plugin fill my need ?
[div class="no-overflow"]
with this:
[div class="" style="overflow-x:scroll"]
in templates/condition_configuration_page.mustache
(replace braces with angle braces above)
The scenario is: the user is supposed to select a 'country', depending upon which 'states' belonging to that country should appear (which is again a conditional field with 37 options), and depending upon the state selected, the district dropdown (37 normal dropdown fields) should appear.
The issue is: in the registration form there appears considerable amount of empty space after country dropdown, though the conditions are working properly.
Any suggestions to get rid of the empty space?? (I tried the solution suggested by Olli Savolainen but the space still remains.)
Thanks & Regards,
Kashmira
Thank you