How to create role-specific registration pages?

The Multiple Registration module allows the use of different registration forms depending on the roles.

For example, you have 2 roles: individual profile and company. You can offer 2 different registration forms for individual profiles and companies with different fields.

Create a new input mode

The module allows you to manage registration forms and also editing forms.

Once the module is installed, you must first create a new input mode here /admin/structure/display-modes/form

Drupal input methods
Modes de saisie drupal

Custom display setting

On the example, I created a mode called "organization registration".

Then, on the people form display management page /admin/config/people/accounts/form-display, we select the custom display setting created earlier.

Modes de saisie drupal

Once validated, you can see the new tab which allows you to manage this new form and therefore to have settings specific to this registration form.

Add a registration page for roles here: admin/people/roles

Ajouter sa propre page d'inscription drupal

Then, we can configure the module here: /admin/config/people/multiple_registration

You can define the url of the new form, the redirection path after validation of the form, the registration form that will be displayed and the profile editing form, deactivate the tab on the page.

Multiple registration pages drupal

A warning message informs you that you must not forget to go to Settings for access to multiple registration pages

Other useful resources

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.