PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Assign Roles with User Registration

  1. Hello,

    I would like to see if this plugin will allow a "hidden field" that will assign a particular role for the user that is registering...I would like to have multiple forms for different types of registrations?

    Is this possible?

    Posted 13 years ago on Thursday June 16, 2011 | Permalink
  2. The User Registration Add-On lets you configure the role that is assigned to the user as part of the User Registration Settings when configuring the Add-On for your registration form. Different forms can assign different roles. It isn't done via a hidden field. It's part of the User Registration Feed settings when using the User Registration Add-On.

    Posted 13 years ago on Thursday June 16, 2011 | Permalink
  3. Carl..

    I am trying to accomplish something similar to what egrogg is suggesting I think.. I downloaded and installed the user registration add-on. Created a form and went through the User registration settings.

    The issue I have, and the one that egrogg seems to be implying he has as well, is that user registration settings admin only let you define one role for the registration form.

    Id like to be able to set a conditional role based on user supplied data (I am trying to get users to register as either consumers or vendors with associated roles & capabilities for each)

    It almost seems the only way to accomplish this is to make it a 2 step registration.. where form one passes the user supplied desired role to either a Consumer registration form OR a Vendor registration form..? Is this true?

    I installed the member plugin suggested in the developer docs that was "integrated with Gravity Forms out of the box".. hoping there might be some ability to conditionally set the role. Though I don't see any Integration out of the box.. or rather have no idea what that statement means.

    What exactly does "integration" mean.
    Gravity forms is a fantastic tool but the documentation is frustratingly thin.

    Any advice would be greatly appreciated.

    Posted 13 years ago on Saturday June 18, 2011 | Permalink
  4. Hi rgkeenan,

    Integration with the Member plugin would only allow you to create custom roles and assign the user to one of those custom roles. It does not allow you to conditionally specify the role. This is a feature that we would like to add in the future.

    In the meantime, your approach with creating a form (and registration feed) for each possible role and then redirecting the user to the correct form is probably the simplest way to achieve this without custom code.

    Posted 13 years ago on Sunday June 19, 2011 | Permalink
  5. Hi David,

    Do you have an ETA on the function you described where a field can be added to a Gravity Forms registration form that lets the user him/herself choose user level?

    I'm planning to use Gravity Forms as a registration form for a password protected website I'm creating where there are several user levels available. It will be a trust based system in which users are expected to be honest about their role. (No harm will be done if they are not.)

    This would be an incredible feature.

    Cheers,
    Eivind

    Posted 13 years ago on Tuesday August 2, 2011 | Permalink
  6. Andrew Munro
    Member

    I'm about to use a form for each role creation but it would be fantastic is the user registration add-on could do this in the future.

    Posted 13 years ago on Sunday August 7, 2011 | Permalink
  7. SabreHoldings
    Member

    Yup, this is exactly what I'm looking for.

    Posted 12 years ago on Thursday December 1, 2011 | Permalink
  8. Me too, I need this exact function. Any ideas on the best way to do this?

    Posted 12 years ago on Tuesday July 3, 2012 | Permalink