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.

Multiple Update User Roles in One Form

  1. I have a two-step user registration form on my website. First, the user agrees to participate on my website and through a Gravity Form, they create a 'basic' user account. Later on, they go to a page where they choose one of four paths in which to navigate the website. I am attempting to use the Update User option so that once the user chooses a particular path, their WP user role will turn from 'basic' to 'path1,' 'path2,' etc. However, it appears that I can only update from one to one, not one to one of four.

    Right now, to get around this, I have the user choose the path they would like to take and then press submit. That takes them to another page where they confirm. I can then use that conditional confirmation to add them to the path they have chosen.

    What would be great is if I could lead them from 'basic' to one of the four paths all within that one Gravity Form. Is this possible?

    Thanks,

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  2. Jradar
    Member

    i'm also interested in this

    Posted 11 years ago on Tuesday May 21, 2013 | Permalink
  3. I am too. I have a winery client that wants users to be able to join 3 different levels of wine club. I'd like to make that a dropdown on the form with a description of the requirements next to it. All that is doable without writing code except for mapping the values to different roles.

    Posted 11 years ago on Wednesday May 22, 2013 | Permalink
  4. You can do this with a separate feed for each level. Set the default role based on the choice in the drop down. Then, use a user registration condition on each feed to ensure that the feed is only used when appropriate, i.e. when the drop down selection matches the default user role you have set for the feed.

    Posted 11 years ago on Wednesday May 22, 2013 | Permalink