Associated input
Maintained by
Shamim Shamim
An associated profile field, associates its value with a core optional profile field.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
would it be somehow possible to create a dropdown menu in combination with an associated input?
I would like to use the optional profile field "institution" on the signup page as required field and ensure additionally that users have limited options only. The reason why I would like to use this core optional field is because I want to display it in the user list via config.php ($CFG->showuseridentity). Unfortunately custom profile fields are not support by this method so I came across this workaround!
Any help is warmly welcome!
Kind regards,
George
I really appreciate your stunning work and I apologise for being a little annoying!
I'm very happy that this marvellous plugin is still maintained!
Kind regards,
George
All bug reports should be filed at https://github.com/rezaies/moodle-profilefield_associated/issues.
I can see that you reported the issue there as well.
I'll look into that as soon as possible. Hopefully next weekend.
Like any free plugin, I only have weekends to work on the plugins and unfortunately, there are not enough weekends in a year
may I ask again for some help regarding my concern? Is this gorgeous plugin not maintained anymore?!
Kind regards,
George
may I ask if there is any chance to get little support for my concern?
Best regards,
George
while playing with this amazing plugin I came across an issue!
If creating an associated input field with one of the optional profile fields
- Web page
- ICQ ID
- AIM ID
- Yahoo ID
- Skype ID
- MSN ID or
- ID number
and set "use original" to "no" the user profile will finally show both the original and the custom created profile field.
All the other fields like
- institution
- department
- phone
- mobile phone and
- address
just work like a charm!
May I ask if this is a bug or am I doing something wrong?
Tested on Moodle 3.5.1+, fresh installation without any other plugins installed
Many thanks in advance!
Kind regards,
George
I added City, Country, First Name, Last Name, and Alternate Name to my define.class.php list. It didn't seem to be an issue until I start doing bulk user uploads to add users and enroll students.
When uploading users/students via csv file, for the associated input fields, should I be using two columns for the associated input fields? One with the original field name and one with the associated input field name (e.g., Should I have two listings for the institution field - one labeled 'institution' and the other labeled 'profile_field_company')? Also, should the associated input field short name be the same as the field it is associated with or have a different name (e.g., Using Institution again, should I make the short name of the associated field be 'institution' or 'company')?
1) Suppose that you are using the associated field to specify some constrains on the phone field. If the "use original" is checked, then original phone field that were always being displayed on the profile editing page remains on its place and the constrains are applied to it. but if you deselect the "use original" option, then the phone field will be removed from its original position and will be placed in the additional profile fields section along with the other additional profile fields you have created.
2) What other fields do you want to be included?
1) How does the "Use original" option affect the record? What does it do?
2) There are only 12 associated fields in your selection. Is there a reason more are not included? I have modified the define.class.php file to include several others, but wanted to be sure it wasn't going to mess with my moodle site.
Thanks again for a very useful and helpful plugin!
I'm not able to reproduce your issue. Are you using the latest version of this plugin?
The issue that was caused by MDL-46946 is currently handled properly by the new version (Build: 20170303). Please update the plugin.
The problem that you have is introduced after MDL-46946
Please do not set any associated field as "required" until I figure out a fix.