Could any one help me to configure multiple registration forms having different fields for different roles in Drupal 7. I have 2 roles in my system - Role A & Role B. For each role, I want to capture different fields during the registration page.

In drupal 6, I used to achieve this using content_profile & autoassignrole. What is the best option available in Drupal 7.

-Nagendra

Comments

ravis’s picture

I work at Drupar.com

theullrich’s picture

I dont see how this is the answer. Yes it does allow roles to be auto assigned but how does that make different registration forms?

WorldFallz’s picture

For d7 you also need profile2 to create different profiles for different roles.

fatima’s picture

Hi,

I noticed that the Auto Assign Role modules is still in development for Drupal 7. Is there another module for Drupal 7 that I can use that will allow me to do the same thing?

Thanks

WorldFallz’s picture

not that i know of, and module duplication is generally discouraged. The best way forward would be to contribute to the effort working on updating the module.

Nicolas Bouteille’s picture

Hello I don't have enough experience yet on Drupal to help updating the module :)
But I too was using content profile + auto assign role on Drupal 6 to create the three different registration pages I need!
Hope I'll be available soon! I'll try to work on something else meanwhile.

Drupal rocks. The more I learn about it the more I love it!

Nicolas

huntr77’s picture

I've been looking for an alternative to Auto Assign Role myself and eventually came across a module called Profile2 Registration Path: http://drupal.org/project/profile2_regpath

Very easy to setup and I now have two different reg forms for two different user types displaying only the fields I want for each one.

Oleks Iv’s picture

Maybe it will be for someone helpful, module Multiple registration could resolve it.

wasimhyder09’s picture

Yes. It is very simple to do.
All you've to do is to download and install Profile2 and Profile2 Registry Path modules.
Then go to path admin/structure/profiles in your site and setup a custom profile. Add fields under the link "Manage fields" with custom fields that you want to show for role 1. Then go to edit page of that custom profile edit link and configure special URL and settings for that profile role.
Repeat the same step for role 2.
Then create a page where you can show two buttons/links referring to path of registration roles for each profile.
When you are all set, go to each of different role registration form pages and you'll see different fields for each role.

Regards!

Wasim Hyder

kpv’s picture

Check https://www.drupal.org/project/registration_types module, though it's only for D8.