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 Registration Condition

  1. ZeadsDead
    Member

    I need to create a form that puts users into different wordpress roles depending on their answers to the form. The form is only visible to users who are already logged in and listed under the Subscriber Role.

    My thought was to use Tadlock's Membership plugin to create the roles. Then create an "Update" form using the User Registration addon.

    Then, when the user completes the form and answers the questions, I can assign them to a new Role depending on their answers!! ...almost.

    The problem is, the User Reg addon only allows for ONE condition. Thus, my 3 question form will not work because all three answers must be marked to TRUE.

    Any suggestions how to accomplish this?

    Thanks!

    Posted 5 years ago on Monday May 27, 2013 | Permalink
  2. ZeadsDead
    Member

    I found a make shift answer but I wish we had a better solution.

    I added a number field and made it admin only. then gave 1 or 0 value.

    the problem is that the 'update user' user reg addon only allows to be associated one time. thus, i cannot create multiple 'update user' addons for one GF form.

    any guidance would be great.

    Posted 5 years ago on Monday May 27, 2013 | Permalink
  3. You can put the conditional logic in your form so that when all three conditions are true, you enable the other form field (can be hidden or admin only) and base you registration condition on that one field (and the form did the work to combine you three conditions.) Does that make sense?

    Posted 4 years ago on Thursday May 30, 2013 | Permalink
  4. ZeadsDead
    Member

    that's essentially what i did with the number field (admin only).

    the problem is, a form may only be associated with one 'update user' form. thus, i cant really say,
    if user clicks this, put him in this membership level
    if user clicks that, put him in that membership level.

    i can only do one or the other, not both.

    Posted 4 years ago on Thursday May 30, 2013 | Permalink
  5. ZeadsDead
    Member

    UPDATE & QUESTION:

    Q: How come the conditional logic for the Mailchimp addon and User Registration addoin fail when attached to an Admin Only Number field?

    EXPLANATION: I created a 4 questions form. Each correct answer receives +1 value. There is a Number Field that captures the values. When I make the Number Field visible, my users are correctly placed into the Mailchimp group and they are successfully converted into a different membership level using the User Reg addon.

    But the minute I make my Number Field as admin only, this feature no longer works.

    BUT, the conditional logic for my confirmation page does work, regardless of whether the Number field is admin only or public.

    Thanks
    Ben

    Posted 4 years ago on Friday May 31, 2013 | Permalink
  6. I will send this to the development team for their feedback. Thank you for the additional information.

    Posted 4 years ago on Monday June 3, 2013 | Permalink
  7. ZeadsDead
    Member

    Yes, I am still testing and it is causing serious problems. Field is shown, everything works fine.

    Field is admin only, it doesnt work.

    Strange and frustrating.

    Posted 4 years ago on Tuesday June 4, 2013 | Permalink
  8. Hi, ZeadsDead,

    I want to go back to your original issue of how to change the role based on data on the form. This will be much simpler than the workaround you are trying to do. You will want to use the User Registration add-on's gform_user_updated hook . I have just added documentation for that hook here: http://www.gravityhelp.com/documentation/page/Gform_user_updated .

    This example was written for your specific situation. Take a look at that and let us know if you have questions. For MailChimp, are you trying to do a similar thing by using data on the form?

    Posted 4 years ago on Tuesday June 4, 2013 | Permalink
  9. ZeadsDead
    Member

    Hi Dana,
    Thanks for getting back to me. I will look into your solution. For the time being, I turned off the user reg feature.

    About Mailchimp, I am trying to add my users into different MC groups, depending on what answers they provide.

    I found the best way to do this was by giving them +1 for certain answers and if they meet a certain score, I add them to the MC group.

    But, even with the most recent MC update, the problem is still there. Whenever I make the number field as admin only, it does not place the user in my specific MC group.

    Any update on this?
    thanks
    ben

    Posted 4 years ago on Saturday June 22, 2013 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only