Associated input

User profile fields ::: profilefield_associated
Maintained by Picture of Shamim RezaieShamim Rezaie
An associated profile field, associates its value with a core optional profile field.
Latest release:
328 sites
28 fans
Current versions available: 2

Ever wondered how to include a core optional profile field on the signup page? Or how to make that field a required field? Or even how to prevent users from providing a non-unique value for it?

The associated profile field is the answer to your need. You can define an associated profile field and "associate" it with a core profile field.

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

Buy Me a Coffee at


Screenshot #0
Screenshot #1


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

Comments RSS

Show comments
  • Picture of Georg Wiesinger
    Wed, Sep 5, 2018, 3:57 PM
    Good morning,
    may I ask if there is any chance to get little support for my concern?

    Best regards,
  • Picture of Georg Wiesinger
    Tue, Oct 2, 2018, 9:19 PM
    may I ask again for some help regarding my concern? Is this gorgeous plugin not maintained anymore?! sad

    Kind regards,
  • Picture of Shamim Rezaie
    Thu, Oct 4, 2018, 10:09 AM
    Hi George,
    All bug reports should be filed at
    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 smile
  • Picture of Georg Wiesinger
    Sun, Oct 7, 2018, 6:44 PM
    Hi Shamim,
    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! smile

    Kind regards,
  • Picture of Georg Wiesinger
    Tue, Nov 6, 2018, 11:37 PM
    Hi Shanim,
    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,
  • Picture of Daniel Groulx
    Sat, Feb 2, 2019, 2:31 AM
    Hi, is it possible to create a dropdown menu in combination with an associated input?
  • Picture of Shaun Ledlie
    Wed, Apr 24, 2019, 5:01 PM
    Hi Apologies for being a newbie but I have installed this plugin and can't find it to use it? Please, can somebody tell me the menu steps to follow to set this?
  • Picture of Rajesh Manandhar
    Fri, Aug 14, 2020, 5:58 PM
    Is there any plugin for adding social media link with icons in user profile?
  • Picture of Adam Austin
    Mon, Jan 25, 2021, 12:53 PM
    Would happily buy several coffees to have this plugin updated for compatibility with 3.7?
  • Picture of Terri Roshell
    Mon, Feb 1, 2021, 6:22 AM
    Hi Adam, This plugin works in 3.9 with no changes needed., I'm sure it will work in 3.7 also.
  • Picture of Shamim Rezaie
    Mon, Feb 1, 2021, 2:54 PM
    This plugin is now updated for recent Moodle versions. It is now possible to associate the associated fields with the users' city. This plugin is also GDPR compliant.
  • Picture of Tanja Böhnke
    Thu, Feb 4, 2021, 4:56 AM
    Dear Shamim,

    I have installed this plugin and I am not sure, how to use it, If I like associate the associated fields with the users' city - how am I doing this? I actually like to make the city and country field a required one. Is that possible? Thank you very much for your help
  • Picture of Shamim Rezaie
    Tue, Feb 16, 2021, 4:14 PM
    Hi Tanja,
    Just released a new version (2.1). In the new version, you can associate the associated fields with the country field as well.
  • Picture of Adam Austin
    Sat, Feb 20, 2021, 2:08 PM
    Hi Shamim,

    I am using the plugin to associate a field on the signup page to the Mobile Phone core profile field. When both the "Use original" & "Should the data be unique?" fields are set to yes, the plugin will not accept any value given on the signup page as unique and returns the error message "This value has already been used.".

    If I turn either of the settings to no, the error does not occur. I need to have this field as unique but do not wish to have duplicate Mobile fields on the student profile. Can you please assist to resolve this issue?

    Moodle Version 3.9
    Plugin Version 2.1
  • Picture of John Leggett
    Fri, Apr 23, 2021, 5:43 PM
    Hi Shamim,

    I have downloaded and installed your Associated Input plugin and like a few other comments here I am not too sure how to use it?

    Is there a guide available anywhere?

    Thanks in advance.

    Kind regards,

1 2 3
Please login to post comments