I want to let my user to request membership to an OG through the user registration form (they should select the company you belong too). I found how to

I have two content type set as OG (company and committee). When I enable group audience selection in the registration form all my OG are displayed. I want to display only value related to the company OG.

Is this achievable?

1 Answer 1


This can be done with https://drupal.org/project/entityreference_prepopulate.

You should create registrationlinks like this for it to work auto: /user/register?og_user_node=X where X is the groupid.

  • I haven't been able to test this setting since I decided to use a different process where user register and request membership in two steps.
    – magdmartin
    Jan 9, 2014 at 15:51

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.