Custom Registration Form that allows selecting a role

Jeff Steil asked on May 18, 2015 21:12

We are registering new users on a site for a client and I created an alternative registration form. This works fine. However, we have also defined different geographical regions as user roles that we would like the user to select when registering. For example, we want them to be able to select the "Americas" user role when registering if they are in that region.

Is there a way to allow a user to select their role when registering through an alternative registration form? Or do we need to rethink defining regions as user roles? Thanks.

Correct Answer

Charles Matvchuk answered on May 18, 2015 21:40

I cannot think of one that you can do easily without customizing the registration form code.

Thinking outside the box, since the registration form allows you to set the role which the user will be assigned, how about you do a choice of region before you get to the registration form such as

Please select your Region

Americas Europe etc.

Then just direct them to the correct page that has the registration web part configured for that region. You could have multiple pages or just configure it on the fly via macro's and document name.

I do the same thing, by assigning roles based upon whether they register as a member, vendor, supplier, etc.

2 votesVote for this answer Unmark Correct answer

Recent Answers


Jeff Steil answered on May 19, 2015 11:09

Thanks Charles, that is actually a perfect solution for this. The user will be able to select their region before getting to the registration page so we will know their region and can redirect to the appropriate registration. Thanks for the suggestion.

0 votesVote for this answer Mark as a Correct answer

Charles Matvchuk answered on May 19, 2015 18:35

Jeff, glad I could help. The nice thing about it is, anytime you can find a solution without having to heavily customize a web part,etc., it can be modified by people who are not developers and it makes the upgrade path much smoother.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.