We are using User 3.4.4. We want the Group_ID (Member Group) that is selected on the Register form to be displayed somewhere on the Profile (as a custom field?) Is this possible?

1 Answer 1


If I understand correctly, the {member_group} single variable will show the member group ID for the currently logged in user


I would create a new member custom text field to capture this data on registration. So during the registration process, have this text field hidden and then with Javascript copy the value from the Member Group field to this hidden text field. Make sense?

Update 2

Updated Kristen's fiddle for demo purposes. Added comments and optimized the function a little bit. ID selector's are always faster. Thanks Kristen for creating that fiddle. Here is the updated one

  • I need some indication in the user profile (EE Control Panel) what Member Group the user assigned themselves...so that could be something like Group ID or Group Name. The problem is that we are getting users not being assigned to the proper Group ID for some reason, so we want to be able to look in the User Profile to see what they selected, if possible Oct 31, 2013 at 19:59
  • Gotcha, just updated my answer
    – Siebird
    Oct 31, 2013 at 20:08
  • First, thank you very much for your help. That does make sense but I am not adept at JS. Is it something easy to code? Oct 31, 2013 at 20:23
  • 1
    @DigitalDud Super easy to code with jQuery. Here's a fiddle.
    – kmgdev
    Oct 31, 2013 at 23:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.