Conditional field

Maintained by Shamim Shamim
A drop-down menu field that shows/hides some other custom profile fields depending on its selected value.
Price option: Free

Supports Moodle 2.9-5.0 See all versions
Latest release: 1 year ago
Installations: 834
Downloads (last 90 days): 342

Frankenstyle name: profilefield_conditional
User profile fields

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi Nicolás,
Please turn on debugging mode in 'Site Administration > Development > Debugging'.
Set 'Debug messages' to 'DEVELOPER: extra Moodle debug messages for developers' and select the 'Display debug messages' checkbox. Then please try again to add a conditional field. You would see an error message with some useful information about the error.
Please file an issue at https://github.com/rezaies/moodle-profilefield_conditional/issues and post debugging information there.
Hello, I guess it's a very good plugin, although I have a trouble. When I select the "Conditional Field" it redirects me to: "/user/profile/index.php?id=0&action=editfield&datatype=conditional"; and shows this error mesage:
"
Esta página no funciona
La página no puede procesar esta solicitud ahora.
HTTP ERROR 500
"
I tried with a checkbox and the redirection is almost the same: /user/profile/index.php?id=0&action=editfield&datatype=checkbox".
Moodle Version 3.1
Language: Spanish
Thanks in advance.
Hi László Pauer,
Please file an issue at https://github.com/rezaies/moodle-profilefield_conditional/issues and provide as much details as possible so I can replicate your issue.
Please mention your Moodle version as well.
For example, these are all custom profile fields, all displayed on the registration page:
Hi,
Thanks for the answer, but I previously made a bunch of other custom profile fields (~50), so that can't be the problem.
Hi László Pauer,
You have not created any other profile fields before trying to create the conditional field. You need to have some profile fields so then you'd be able to hide some of them.
Hi,
For some reason, the window where I could set the conditions, does not look like the one in the documentation:
http://imgur.com/a/utUJ3
Could you please tell me what is the problem here?
Thanks!
ok thank you but please tell me if you solved it to use it because it will save alot of time if i use it
Hi,
Please file an issue at https://github.com/rezaies/moodle-profilefield_conditional/issues and provide as much details as possible so I can replicate your issue.
Please mention your Moodle version and also mention type of the fields you are trying to depend to each other.
Thank you for great plugin but i have and issue when try to signup it release error in insert to database say dataformat cannot be null when field insert to table mdl_user_info_data although this field is hidden from the plugin but it cannot save but when try add user from add new user form it save well . i removed plugin and used css and jquery to hide fields on condition and it worked please solve issue for signup form
Thanks!
Thank you, Ricardo, for your comment and sorry for the inconvenience it might have caused.
I have fixed this in the new version. Please update the plugin.
Great plugin, however it doesn't work when in a comboBox is an special character like ' in "VI O'Higgins", in my case i'm using to let the user chose the region of Chile where they live and when I add the option "VI O'Higgins" the condition doesn't work any more.
Approval issue created: CONTRIB-6691