Groups Gravity Forms

Groups Gravity Forms

This extension integrates Groups with Gravity Forms. It allows to add users to groups automatically, based on form submissions.

Requirements

You must have Gravity Forms and the Groups plugin installed and activated on your WordPress site. Some of the integration features require Gravity Forms Add-Ons which are only available to those who have a Gravity Forms Developer license.

Features

A new Groups settings section is provided for each form, where automatic group membership assignments can be determined.

Groups Gravity Forms Form Settings

Group Memberships based on Form Submissions

  • Add users who submit a form to one or more groups
  • Add users to groups based on a form field

For each form, one or more groups can be chosen that a user who submit the form will be added to.

A form field can be used to determine which groups the user will be added to.

Group Memberships for Form Submissions

Group Memberships for User Registrations

This feature requires the Gravity Forms User Registration Add-On. Please note that this Add-On requires a Gravity Forms Developer license.

When a visitor registers through a form, the user can automatically be added to one ore more groups.

Group Memberships for User Registrations

Group Memberships for Payments

This feature requires a Gravity Forms Payment Add-On. Please note that these Add-Ons usually require a Gravity Forms Developer license.

When a payment has been made, the user is added to one or more groups. If the payment is reverted/refunded, the user is removed from those groups.

User registrations with related payments can also be handled (this requires the Gravity Forms User Registration Add-On).

Group Memberships for Payments

Limitations

  • Support for Subscriptions is to be considered in beta/experimental stage. This is mainly due to the fact that subscription expirations are based on incoming IPNs and that these do not necessarily correspond to the actual end of term of a subscription.
  • PayPal Pro subscriptions are not recognized as expired.
  • The PayPal Payments Pro gateway is not ‘officially’ supported as exhaustive testing has yet to be performed with this extension using the gateway.

Documentation

See the Documentation pages for Groups Gravity Forms.

Demo

Please visit the Demo site.

Download

Get Groups Gravity Forms

116 Responses to Groups Gravity Forms

  1. Jason March 5, 2014 at 3:24 am #

    There is a third party Stripe integration for Gravity Forms that’s available both in free and pro versions. Will this plugin potentially integrate with any Gravity Forms payment gateway, or would I be better off using the WooCommerce version of Groups?

    • kento March 7, 2014 at 10:06 pm #

      The Stripe integration for WooCommerce would be more complete and group memberships would be synced automatically based on orders. Also it integrates with WooCommerce Subscriptions. I reckon it depends on which platform better supports your use-cases.

  2. Jennifer April 7, 2014 at 6:25 pm #

    I just installed this plugin. Under the settings in my form, I don’t have groups option. I only have: form settings, confirmations, notifications.

    Groups and Groups woocommerce are both installed.

    What could be wrong?

  3. Jennifer April 7, 2014 at 6:30 pm #

    (see above, solved it!)

    • antonio April 8, 2014 at 6:51 am #

      perfect 😉

  4. Tevya June 3, 2014 at 5:43 pm #

    This seems helpful, but falls short of being really useful. Other GF addons utilize “feeds” so that you can do multiple things in one form. For example, I can have a list of checkboxes, and if a user checks them all, they’ll be added to several MailChimp lists, instead of just one.

    This plugin would be far more useful, if the user could create feeds and then based on which options are selected in the form, would then be added to multiple groups, or a different group. From what I can tell (I could be wrong), currently it will allow a small amount of customization in this regard. But it’s fairly limited and doesn’t auto-populate the Groups available. It just allows you to put them in as values, which will work “if they exist.” Try out the User Registration or MailChimp addons for great examples of how it could work.

    • kento June 4, 2014 at 2:28 pm #

      There already is an option for that. You can have users added to groups based on a field, see the documentation page under the heading “Group Memberships for Form Submissions” – there is a screenshot which shows the option “Add users who submit this form to groups based on a form field?”. Isn’t that what you’re suggesting?

      • Tevya June 4, 2014 at 4:12 pm #

        Well, yes, it does the same, but only to a point. The way it is now, you have to put in the group name into the field. It just leaves a lot of room for mistakes, and is different than all the official addons in the way you set it up.

        They way the feeds work for other GF addons, it’s a separate “feeds” settings area where you link the form to whatever else (for User Registration you link it to a User Role, for MailChimp you link it to a email list). And they auto-populate the options, including an easy interface for linking the fields to a MailChimp list, user role, or whatever.

        In this case it could be conditional logic similar to what’s on each individual GF field, but all in one “feed” setting. Here’s a sample screenshot of a rather complex feed that assigns users to MailChimp groups, within a list. Your addon here could offer the same “feeds” controls and within it, the same conditional logic setup: https://docs.google.com/file/d/0B5exS_8umrTLajhmdXVsTF85LVk/edit?usp=drivesdk

        • kento June 4, 2014 at 5:20 pm #

          Thanks, now I see what you mean. I wonder if that wouldn’t be a good idea in general for Gravity Forms itself, having a more flexible conditional logic where you can base field values on other fields.

          • Tevya June 5, 2014 at 1:46 am #

            Hmmm… yeah, that would be cool. You can do some of that I know, with calculations, but not sure how advanced it is. I haven’t had need to really push it.

      • Tevya June 4, 2014 at 4:19 pm #

        P.S. with that level of functionality, I’d think you could sell it for AT LEAST 2-3 times the amount you’re asking now. $20 or even $30, easily.

      • Aziz December 1, 2014 at 4:08 pm #

        I have purchased group gravity form from themeforest

        (edited) – 01 Dec 2014 (Regular License)

        But I couldnt find the settings button yet? and which other plugin i ahve to purchase where can i find it at themeforest can you show me the link please?

        • kento December 1, 2014 at 9:31 pm #

          Hi,

          Thanks :), responded here.

          Cheers

  5. sarah July 1, 2014 at 2:06 am #

    Hi, I’m trying to work out the best way to get customer info at time of registration. I could use this plugin but i’d have to buy Gravity at $199 when i already have WooCommerce, WooSubscriptions and several of your Groups plugins and it seems to me that what i really need is for the woocommerce signup panel on the “my account” page to require additional fields. At the very least i need first name and country. I’d then like customers added to a group for their country automatically. Can you advise on the best option or workaround?

    • kento July 6, 2014 at 11:33 am #

      Hi Sarah, I would use the checkout form where the customers provided their address as that is integrated in WooCommerce and pretty straight-forward. What you would need to have is a group assignment based on the country selection once the customer signs up. That can be done using the Groups API and appropriate hooks at customer registration (coding involved). Do you have a developer working with you?

      • sarah July 6, 2014 at 11:08 pm #

        Thanks for the feedback. I’m not working with a developer and have managed to do everything in-house so far with the help of handy plugins like yours. I’ve put in a help request to WooThemes too, as it seems so odd to me that there’s no option to request additional data from customers before giving them access. I’m not wanting to wait until purchase stage before getting this info when they are forced to supply it. It seems just such a basic marketing requirement – to have someone’s first name and country in order to communicate appropriately with them. But none of that adds them to the right group so i guess i may have to consider getting some help. Thanks for your input.

        • kento July 7, 2014 at 3:52 pm #

          Thanks, I see. I think what you’re really looking for is a way to handle leads before they make a purchase decision. For that a form based on Gravity Forms would be useful and the integration with Groups is ready as well. Gravity Forms is well worth the investment, even though the price tag on the developer license may seem big, it’s well worth it taking into account the amount of time it saves setting up and handling forms.

          • sarah July 29, 2014 at 10:44 pm #

            Hi, just wanted to give you some feedback. I followed your advice and purchased Gravity Forms developer license. It’s working really well and was exactly what i needed. It’s been a lot of work but I now have a fully functional membership site using Groups with WooCommerce.

            The only thing that’s really missing is some way to track what my customers are doing once logged in. Not necessarily on a user by user basis – I’m more interested in what’s getting my customers interest, how often they might be visiting and opening their subscribed content etc. Would love any advice on this.

            thanks!

            • kento August 1, 2014 at 11:18 am #

              Hi Sarah,

              Many thanks for your feedback, great to see this working on your site!

              Google Analytics and Google Analyticator might be an option. What’s interesting is the idea of “… once logged in.” – definitely worth a thought, I’m not aware of any solution that would allow you to create an overall image of user behavior to that level.

              Cheers

  6. Bret Williams August 26, 2014 at 3:15 pm #

    We’re using your plug-in with a client who has several membership levels. I’m wanting to assign the users to groups based on their membership level. Unfortunately, it appears this is only available for logged in users. We need this matching functionality for new user registrations and/or new user payments.

    Is there a way to have this matching feature added to user submissions (using the Gravity Forms User Reg plug-in) for new users?

    • kento September 1, 2014 at 4:06 pm #

      Hi Bret,

      I think you’re asking for a feature that already is supported, please have a look at the section under the heading “Group Memberships for User Registrations” on the documentation page.

      Please let me know if that’s what you’re trying to do or need further help.

      Cheers

  7. Bret Williams September 1, 2014 at 7:28 pm #

    We followed the instructions before. We have a form where a submitter can make a selection and based on that selection, be added to a group. It’s a New User registration form. What we’re finding is that this user selection does not work for a new user, only a user that is already logged in, as stated in the instructions. We need this group selection process during the New User registration.

    • kento September 2, 2014 at 9:30 am #

      The assignment by field also works with new user registrations. You need to enable the field under Form Settings > Groups.

      Assuming you have a field Group on your form …

      … you need to enable group membership and choose the field:

      • Bret Williams September 2, 2014 at 1:18 pm #

        We did all that. If you notice, just below the “enabled” checkbox, it says “If enabled, registered users who are logged in and submit this form…”

        We’re finding that this does not add *new* users to the group, only logged in users. If it supposed to work with new user registrations, then 1) the wording of the instructions is not clear, and 2) it’s not working that way in our testing.

        In the next section, “Group Memberships for User Registrations,” we can enable and choose one group that all new users will be added to, but we’re wanting to add new users to groups based on the choice they make in the New User registration form.

        • kento September 4, 2014 at 11:18 am #

          No, this effectively adds new users to the groups as chosen in the appropriate field. Please review the settings as shown in your form, if they are not added for new users then you are missing a setting. Can you provide screenshots of your current settings?

          • Bret Williams September 4, 2014 at 7:25 pm #

            http://awesomescreenshot.com/00d3fk8958

            We want the user to be added to a group listed in the Membership Type field of the form. The following is a screenshot of that field setting:

            http://awesomescreenshot.com/0e33fk8m5a

            • kento September 10, 2014 at 1:53 pm #

              Do these groups exist? The groups must already exist for the assignment to work.

              • Leanne April 13, 2015 at 2:55 am #

                Hello, Kento,

                I am having the same problem as Bret was. I have the fields enabled and set up as you show in your screenshots, and I have the appropriate groups created. Further, I have the form being used as a new-member registration form. However, no matter how I put the settings, the group is not being automatically generated for the new users. What do you recommend? Thanks!

  8. Eivind January 2, 2015 at 11:27 am #

    Hi, and thanks for a great plugin!

    Not sure if this is a bug or user error, but never the less hoping for help:

    Registering users work great, they’re placed in the groups as they’re supposed to.

    But I’ve also made a form to enable the (logged in) users to edit their saved information. As a part of this I would also like them to be able to edit their group membership.

    I’ve duplicated the registration form, and added a new “User registration” entry, using the “edit” instead of “register” option.

    The outputed form presents all the groups as it should, but none of the groups are selected, even though the user already belongs to several groups. This might lead to confusion, as the users might think they’re not registered in groups when they actually are.

    Is there any way to have the form reflect the saved groups?

    Thanks,
    Eivind

    • kento January 7, 2015 at 8:04 pm #

      Hi Eivind,

      Thanks for pointing that out, I’m going to look into it and this will probably require some modifications done to the plugin so it covers this case, too. I’ll follow up here with an update.

      • Eivind January 7, 2015 at 8:06 pm #

        Thanks!

        Until it’s ready, are there any other way for the user to edit their group memberships? Is there any shortcode to place an edit form on a page or something?

        • kento January 7, 2015 at 10:48 pm #

          Yes there is a shortcode you can use, it’s groups_join as documented in the Shortcodes section. Please have a look, it’s a bit limited but might be an option for you meanwhile.

          • Eivind January 8, 2015 at 1:09 pm #

            The shortcodes *almost* help me.. But it’s a quick fix to make it helpfull, I think. I’m adjusting the code, can I email you the changes so they might be included in the next version?

            What I need is basically the groups_user_groups shortcode. But I also need to give the users the possibility to leave the groups they’ve signed up for. So, I’ll try adding the relevant codes from the leave_group shortcode to the groups_user_groups shortcode so that after listing each group there is also an option to leave that group. Whether or not to display the leave-option could be switched with a shortcode parameter, like sorting order, include, exclude etc.

            The similar option for joining groups would be nice in the listing of available groups.

            • kento January 8, 2015 at 2:15 pm #

              Thanks Elvind, if you’d like to suggest changes to the plugin code itself, please fork Groups on GitHub. Another option would be to implement it as a plugin if you prefer.

              • Eivind January 9, 2015 at 8:00 am #

                I’ve never used GitHub before, but made an attempt at it. Feel free to review my pull request whenever you can 🙂

                • kento January 11, 2015 at 7:32 pm #

                  Great, thanks 🙂 I’ll have a look and let you know.

              • Eivind January 11, 2015 at 8:05 pm #

                I have noticed some errors in the code I submitted. I’ll upload a new version (which is still not completely ready, I think) as soon as I can.

                • kento January 11, 2015 at 8:27 pm #

                  Many thanks, I’ve just added a comment there with a suggestion to reuse existing code to join/leave.

  9. Daniel January 13, 2015 at 12:24 pm #

    Kento, maybe you can shed some light on your groups for members addon?

    This is the setup I’m thinking in doing:

    When someone wants to read some of my articles (a specific category), I redirect them (through Groups 404) to a page ID where there is a gravity forms waiting for them (with your addon). Once they signup, they are added to a “Readers” group, which has the group_read_capabilities. They will then be able to read those posts that either have that capability or Readers restriction.

    What happens if they come back later and they are not logged in? When they try to read one of those articles, they are redirected to the form again, but they’ve already signed up. Maybe there should be both a login and user registration link/form in that same page?

    • kento January 14, 2015 at 8:31 pm #

      Hi Daniel,

      If you have a redirection in place with Groups 404 Redirect, then yes that will also apply if they have already registered but aren’t logged in. In general, I would agree with you in that it would be suitable to allow registered users to log in on the page they are redirected to, and for those who are not yet registered, either have the sign-up form there, or use a link to the page where the form allows them to sign up.

      I hope that helps 🙂

    • Mike January 15, 2015 at 10:47 pm #

      Hi Dan redirection will take your regular login to wp-login page for user make sure you apply redirects to user after they login to admin panel.

      st.com ?

  10. Paul February 20, 2015 at 8:32 pm #

    Hi there,

    I’m looking for the ability to show a gravity form based on “if the member is part of X group”, is this possible with this plugin?

    • antonio February 21, 2015 at 9:00 am #

      Hi,
      you can create a page where you set the gravity form and protect the page with Groups plugin.
      Only if you need to add users to groups automatically, based on form submissions, then you need this plugin.
      cheers

      • Paul February 21, 2015 at 11:38 am #

        Hi, sorry that’s not quite what I asked … basically we already use the groups plugin but a page on our site we have different content being displayed dependent on the group permissions. So can this plugin hide a form if they are not able to see it due to a group permission.

  11. Nathan February 25, 2015 at 4:41 am #

    Hello,
    I am using this plugin with Gravity Forms and the “Gravity Forms PayPal Standard Add-On”, and I am using the “Group Memberships for Payments” option to add users to a group when they have made a payment.

    Now the problem is, currently when the User submits the form and does NOT complete the payment eg. click back or click cancel. They still get added to the Group.

    I do have the Paypal add-on in Test mode haven’t tried a Live test.
    However I wish for the User to be added to the Group, ONLY when a SUCCESSFUL payment has been made.

    Can you help me with this enquiry?

    Regards,
    Nathan

    • kento February 25, 2015 at 6:46 pm #

      Hi Nathan,

      The user should not be added to the group in that case. Have you chosen the group in the field under the Group Memberships for User Registrations or the Group Memberships for Payments heading?

      Cheers

      • Nathan February 25, 2015 at 10:32 pm #

        This is under the Group Memberships for Payments. Users have to register and then login before they can access this form.

        • kento March 13, 2015 at 1:24 pm #

          Hi Nathan,

          The plugin has been updated to take care of this issue. You should receive a notification as soon as it is available for download.

          Thanks for pointing this out!

          Cheers

  12. Andrei G. April 17, 2015 at 8:49 pm #

    Hi,

    I purchased this plugin, but doesn’t quite do what I was hoping it seems, even though it’s very close to it. What I need is to allow an existing user (admin) to fill out a form to create a new user but have the ability to specify which group the user should be added to.

    The reason for this is that users are not allowed to register themselves. The form that allows for the creation of the user is limited to Administrator roles. This form makes use of the User Registration Add-on for Gravity Forms.

    I see it’s possible for an existing user to assign himself to a group by filling out a form that has a field with group choices, but I need it differently as explained as above.

    Is that possible or can it be added please?

    Thank you.

    • kento April 18, 2015 at 11:54 am #

      Hi Andrei,

      Sounds like a good suggestion, currently you would have to use the form to add the user and then add the created user on the back-end. Can’t promise on an ETA for this feature but I think it’s worth looking at.

      Cheers

  13. Paul May 11, 2015 at 8:14 pm #

    If “Activate user Manually” is selected in the GF User Registration settings, will the user not be added until admin has “Activate” user manually or will the user get privileges anyways?

    • kento May 12, 2015 at 9:07 am #

      The user account is created and assigned to the group when activated manually.

      • Paul May 12, 2015 at 10:11 pm #

        Perfect! And is there away to set a time restriction ex: 12 mo. and it will remove them from the group? (for memberships)

        • kento May 14, 2015 at 10:14 am #

          Hi Paul,

          No this isn’t supported with this integration (at least not currently), but for that you could consider using Groups WooCommerce.

          Cheers

  14. Paul May 12, 2015 at 1:36 pm #

    Hi, does this plugin allow me to direct a gravity forms notification based on the group membership of the person submitting the form?

    • kento May 14, 2015 at 9:28 am #

      Hi Paul,

      You mean like a customized notification per group? No, that’s not possible.

      Cheers

  15. Martin May 14, 2015 at 5:56 am #

    Hi I am using your plugin with stripe integration I want to use recurring payments from stripe and have users groups be removed from the user if the recurring payment is not paid, does your plugin handle this?
    I love the simplicity of this plugin but not sure it can cope with my needs, I have multiple groups but need the auto remove group to work

    • kento May 23, 2015 at 8:07 pm #

      Hi Martin,

      I would suggest you set up a test environment with Stripe in test mode, to make sure it works with those settings. Once you have assured that with your setup it works as expected, you can use live mode.

      Cheers

  16. Paul May 17, 2015 at 7:22 pm #

    Is it possible to make a group and then give access to gravity forms. I know Justin padlocks members only can do this out of the box but i’m all set up with Groups right now. Gravity forms default is admin access only.
    https://www.gravityhelp.com/documentation/article/role-management-guide/

    • kento May 23, 2015 at 8:09 pm #

      Hi Paul,

      You simply need to set up a group and assign permissions as required, then assign the desired user to that group and that’s it. When logged in, the user will have the admin side according to the permissions assigned to his group.

      Cheers

  17. Dobes August 4, 2015 at 12:14 am #

    Hi,

    I’m a bit confused about the documentation about subscriptions. If I’m using Stripe with Gravity Forms and they buy a subscription, will this groups plugin (theoretically) be notified at some point if that subscription is terminated?

    • kento August 11, 2015 at 6:55 pm #

      Hi Dobes,

      Yes that’s what should happen. Have you tested it?

      Cheers

      • Dobes August 11, 2015 at 8:23 pm #

        Hi, I hadn’t tested it yet because I’m still in disbelief such a feature is already in there! Pretty sweet if it works, I’ll definitely give it a try sometime. Do I have to do anything special to set it up, though? Like add some configuration into Stripe / PayPal?

        • kento August 12, 2015 at 6:10 am #

          Support for subscriptions is still experimental due to some technical details, but if you’d like to follow the indications given on the Group Memberships documentation page and give it a try I’d appreciate your feedback.

  18. Ben August 5, 2015 at 1:15 pm #

    Is it possible to have a Gravity Form submission notification be sent to different people based on which group the form submitter is in? For example, the site I am working on will have numerous language teachers, each with their own students. I wanted to have each ‘class’ of students be a group, and when they sent in a weekly language report, it would automatically go to their own teacher. You can do this with gravity forms on its own, but it’s a lot of extra work, if I’ve already got them in groups using the Groups plugin. Ideas?

    • kento August 11, 2015 at 6:59 pm #

      Hi Ben,

      Thanks for asking but this isn’t possible with the extension as it is, sorry. Even if the submission notifications go to the admin, sending them out to people based on a teacher-student relationship is quite more complex and not built-in.

      Cheers

  19. Justin September 23, 2015 at 1:12 am #

    Is there any way to combine the feature where it adds users to groups based on checkboxes in Gravity Forms, and the payment option? In other words, only once confirmation of payment is received they’ll be added?

    As it stands, everyone was getting added based on their checkboxes, giving them access even if they haven’t paid. For now, I had to turn off the first one and just put people who paid into a “paid” group, then go back and manually add them to groups based on checkboxes.

    If this isn’t already built in somehow, another thing that would solve this problem is giving the option to block access to a page by saying a user must belong to group X AND group Y. Then we could say they must belong to Group X & the “paid” group.

    • Kento September 25, 2015 at 9:19 am #

      Hi Justin,

      I’ve just seen your comment over on CodeCanyon, too – could you please supply the exact settings you are using? Also if you can grant admin access to the site please provide it to support at itthinx dot com and make sure to include a link to this conversation.

      Cheers

      • Justin September 25, 2015 at 5:12 pm #

        I’d prefer not to give admin access yet, unless it becomes necessary. Here’s a link to a screenshot of the Groups setting on the form. This is the only setting currently checked: https://www.evernote.com/l/AAawigplWoFCfKQeVbs8nuynC–8GmRlTr0

        The form has the Paypal extension connected; in production mode; transaction type is Subscription; when someone does complete Paypal it IS successful.

        The problem is if someone exits Paypal without paying, they are still put into the group “Paid” when the checkbox in the screenshot above is checked. Does the cancel URL matter? Currently the cancel URL is set to return back to the form again.

        In case it matters, the user has already registered and is signed in before accessing this form. If you need any other info let me know. Thanks!

        • Kento September 27, 2015 at 11:35 am #

          Hi Justin,

          Thanks for the screenshot, I’ll need to see the form setting, user registration settings, etc. too. Anything related to the process. I’d be easier to just have a look at the admin side and be able to run a test. Alternatively you can set up a staging site and give access to that.

          Cheers

          • Justin October 1, 2015 at 3:37 am #

            Thanks… I’ll have to get back to you in a week or two. Can we handle the rest via email? They are actively signing people up right now so I don’t want to mess with the live site at the moment (it works, just doing what I thought your plugin would do manually.) I could make a staging site, but that could be difficult to match with Paypal’s IPN url etc.

            • Kento October 1, 2015 at 7:53 am #

              Thanks Justin, please let me know when you’re ready. We don’t provide support via email but for access credentials etc. A staging site would simply use a PayPal sandbox account.

  20. Ryan October 28, 2015 at 8:22 pm #

    We are seeing a problem with the Gravity Forms Groups plugin to place new registrations in groups chosen from a multi-select. When I choose 2 or 3 groups from the multi-select field it adds the user to ALL groups. Is this issue with the multi-select? Do I have to use checkboxes or simple dropdown instead? Please advise.

    • Kento October 29, 2015 at 12:53 pm #

      Hi Ryan,

      I’ve tested with the latest versions of all related plugins and don’t get the same issue you describe. With a Multi Select field for example, I have three values Red, Green and Blue (and groups named like that exist). I have that field on a form along with an email field and the field is enabled for user registration. After submitting, the user is registered and belongs to only those groups selected. Can you please share details on how you have set up your form? Also can you please provide a URL to where the form is displayed?

      Cheers

  21. Ryan October 29, 2015 at 4:58 pm #

    I’ve realized it was because I added all groups to the above selector thinking that would activate them for use with the custom field option. Possibly confusing description. When I removed all of the groups then the custom field selector only added what we needed. Thank you!!

  22. Ronzilla November 21, 2015 at 6:38 am #

    Pre-purchase question: Is it possible to place users in location based groups automatically based off of Geolocation at time of registration?

    • antonio November 23, 2015 at 8:14 pm #

      Hi Ronzilla,
      sorry, it’s not available in the plugin.
      Kind Regards,
      Antonio B.

  23. Ana January 27, 2016 at 1:03 pm #

    I’ve just bought Groups plugin for Gravity Forms and it looks great. But I have a problem. When I register a new user from the Registration Form, the form assignes correctly the group. But as is a private site, it’s neccesary to login previously, and if I log in as administrator and send the Registration Form, the Group is not assign.
    Can you help me? Thank you.
    Ana M

    • antonio January 27, 2016 at 3:14 pm #

      Hi Ana,
      You can use the “Group Memberships based on Form Submissions” feature, and create a form for registered users.
      Kind Regards,
      Antonio B.

      • Ana January 27, 2016 at 3:47 pm #

        Sorry, I think I have not explained correctly the problem. In my site, only the administrator can register users. If you leave the web open (members only deactivated) , and goes to the registration form , the new user I register is included correctly in their group. But if I have closed the web (login page at home) , for members only , and I login as an administrator, when I fill the registration form did not classify the new user in the group. Do you speak Spanish? Thanks Antonio .

        • antonio February 2, 2016 at 11:17 am #

          Hi Ana,
          When you add a new user from the dashboard (Users->New user), you can’t set the groups from the form, but above the users tables (Users->All Users) you have a bulk action to add to groups. Or you can do it editing the user.
          Yes, I speak Spanish, but support is only available in English, sorry.
          Kind Regards,
          Antonio B.

  24. Christopher January 31, 2016 at 3:35 pm #

    Hi,
    In “Group Memberships for Form Submissions”

    I select my gravity form field to Add users who submit this form to groups.

    all works perfect …
    but I need to DELETE ALL GROUPS before ADD this new one.

    Where can I change the code to ERASE existing Groups before ADD the new one?

    • Kento February 6, 2016 at 5:13 pm #

      Hi Christopher,

      I would recommend to use an action instead. You can use the groups_created_user_group action to remove the user which has been added to a group from another group when the user joins the group.

      Cheers

  25. Karl February 17, 2016 at 11:33 pm #

    Hi there-

    We’re using Groups and Groups Gravity Forms to build a new membership site and are wondering if there is a way (ideally, a short snippet added to our custom child-theme’s functions.php file) to automatically redirect a specific URL on the site based on the logged in user’s group (capability). For instance, a user in group 1 who clicked on the link to “http://oursite.com/dashboard/” might be redirected to a page with the url “http://oursite.com/dashboard1/” while a user in group 2 who clicked on the same link might be redirected to “http://oursite.com/dashboard2/”.

    Depending on your road map for groups, I could imagine this as a useful extension accessible as a group of group redirection rules accessible through WP admin, but for now, we could make do with something less.

    Any suggestions?

  26. John February 21, 2016 at 10:44 pm #

    Hi,

    Is there a way under the “Form Submission” part of the plugin, to have a new user assigned to a group without being logged in? I want a new user to be added to a group of their choice based on a form field selection on the new user registration form. It is assumed when submitting the form, the user will not be logged in. The plugin instructions indicate a user must be logged in when the form is submitted.

    The User Registration section below will not work for my application, because I want the user to choose their group when registering. Otherwise, to use that option, I would have to make a different form for each group. The functionality I need is to have the same form field selection capability under the “User Registration” section.

    Thanks!

    • antonio February 22, 2016 at 7:21 am #

      Hi John,
      if you need to the users can choose their group in the WordPress registration form, you can use the Groups User Chooses plugin.
      Kind Regards,
      Antonio B.

  27. Leland Zaremba March 7, 2016 at 4:11 pm #

    We have a multi select field on a new user registration form that allows new submissions to select user groups to join. What values get matched from the form field to the user group to accomplish this group assignment? There is no documentation for this. Is it the form field value and the group slug? Or is it the form field value and the user group title? We are observing that sometimes this assignment fails and I assume its due to the matching not working properly. Please advise.

  28. Bridget March 12, 2016 at 3:51 am #

    Hello
    I am using this plugin for Gravity Form User Registration and the groups gravity plugin under the following scenario: We have a WP page that is only available to certain logged in users, (our sales team) the sales team use a gravity user registration form on this page {note: form setting “Require user to be logged in = yes”} to add new customers to our site. The user registration form has groups mapped to a multiselect control to identify one or more groups that we use for woo commerce. The sales team user (who is logged in as themselves) checks one or more of the groups and fills out the other information and submits the form. Under this scenario the new account is created correctly in all respects except for the group(s) The issue I am experiencing is that the groups selected for the “new user” account being registered are actually being updated to the sales users account (i.e. logged in users own account). I have verified that if I remove the logged in requirement and the form is used by a non logged in user the new user accounts are registered with the groups correctly.
    My Question: Is there a setting I am missing that would make the groups be applied to the account being newly registered and not the person creating the registrations(submitting the form)?… it appears that section 2 of the Group Settings area may be for this but it does not have the same ability to reference groups based on a form field for example “Add users being registered using this form to groups based on a form field?”
    Catch is we need the sales person to be logged in as the form has private info and instructions specific to them/logged in user…

    Please let me know if I need to explain this differently… any pointers appreciated!
    Cheers
    Bridget

    PS I think you may find Ana (comment from January 27) has the same issue and if she looks at her administrators user account she will see the groups have been added against the admin account for the users that she was registering while logged in as the administrator (if that makes sense!) …. in other words the plugin is adding groups to the logged in users account and not the new user being registered

    • Kento March 16, 2016 at 1:36 pm #

      Hi Bridget,

      Thanks for the detailed explanation, that makes it easy to respond. Your requirement as I understand it, is that you can add new users from the front end using forms handled through Gravity Forms and that these new users can be added to specific groups based on a form field. The integration adds users who submit a form to groups, but it does not allow another user to add someone to groups based on that. Given that your requirement makes sense in the generic case where someone wants to allow some degree of front end administration for users accounts, I would suggest to consider this to be added to the integration as an option. I can’t promise if it is feasible or when exactly we will add this feature, but we’ll review the possibility as soon as possible. I hope that helps, is it an option to have your sales team members request an admin to have the new users added to the groups meanwhile?

      Cheers

      • Bridget March 16, 2016 at 4:17 pm #

        Hi Kento, thanks for getting back to me – yes please review this as an enhancement request. You have understood the requirement correctly and confirmed what I suspected on testing and documentation review that it is not currently available. The key to the requirement being 1. the user submitting the form is logged in, 2. they use a gravity form field (1:M values are selected) which we map as groups, and 3. the user the form is being submitted for and to whom the groups are to apply to is not the logged in user (form submitter). In regards to your suggested option, unfortunately this is exactly the current workflow which we are trying to alleviate 🙂 – i.e currently we add the user in an unapproved state {group set-up is required before account can be finalized}, notifications fire off to an admin to manually set-up the groups, manual user approval is actioned and user (sales rep & new account user are notified)… we are trying to “plug the gap” and make things more efficient as technically the manual step is redundant in our process and diverts someone from their current tasks to initiate the approvals etc… it also stops the sales rep placing the first order for the new account “on the spot” which is kind of their bigger issue with the whole process… to them we are holding up their sale! Anyway thanks in advance for the consideration – if you need any more clarifications/ scenarios etc just let me know.

        Cheers
        Bridget

        • Kento March 17, 2016 at 8:32 pm #

          Ok that’s perfect then, many thanks for taking the time to explain this in more detail. I’ve got our conversation bookmarked and will post when we have an update available.

  29. Leland Zaremba April 4, 2016 at 1:54 pm #

    We have a Gravity Forms multi-select field where values match group names exactly. When users register for a membership they select the groups they need and are subscribed. We find there are a couple of cases where this is failing to place users in a group. Example site:

    http://silvercrested.com/ -> click on “register” button to see form in modal window. The Groups are all property names. The one in question is Arlington Cove and the value is “Arlington Cove”. The group name is also “Arlington Cove”. Is there any way we can use ID’s as form field values instead of the names? What else can we do to test this?

    • antonio April 5, 2016 at 9:18 am #

      Hi Leland,
      It should work fine, please check that your group name hasn’t whitespaces at the beginning or end. Also you can test selecting only this group and/or with another groups.
      If the problem persists, you can send me dashboard credential to antonio at itthinx dot com and I’ll have a look at your settings.
      Kind Regards,
      Antonio B.

    • antonio April 5, 2016 at 5:08 pm #

      Thanks Leland,
      You have the ‘Pending activation users’ option enabled, and it seems the problem.
      Adding this code in your functions.php theme file should work fine.
      Kind Regards,
      Antonio B.

  30. Facemweb May 3, 2016 at 1:21 pm #

    Hello,

    I’d like to enable the users of my site to chose groups into several fields with only one form throught the submission menu.
    You can see an example of form I’d like to make here: http://benevoles.histoiresetrevesdartois.fr/choix/

    I tried to change the select/option into a chexkbox without any result, may you help me ?

    • antonio May 4, 2016 at 2:53 pm #

      Hi Facemweb,
      Sorry, we can not access to the example form. Please have a look at the documentation page.
      Kind Regards,
      Antonio B.

      • Facemweb May 6, 2016 at 7:10 am #

        Yes, the link wasn’t the good one, but the problem doesn’t change. The documentation only give clues about givin’ the opportunity to join one group throught a form.
        We need ours costumers to be able to chose more than one group.

        http://benevoles.histoiresetrevesdartois.fr/groupes/
        Here they could join both groups from ‘Accueil’ and ‘Commercial’.

        Thanks

        • antonio May 6, 2016 at 9:07 am #

          Hi,
          Sorry, Your ‘groupes’ page is not available for guests.
          But if you select a ‘Multi select’ field type as Group field to join, then the user can be added to multiple groups.
          http://i63.tinypic.com/288sc9g.png
          http://i65.tinypic.com/f3f2h0.png
          Kind Regards,
          Antonio B.

          • Facemweb May 6, 2016 at 9:18 am #

            I’ve changed the restriction to the access, the page is now public, you should be able to see it
            however, the field is already a multiple one.
            http://imageshack.com/a/img923/8502/xYj4Qo.jpg
            The point is that I have other fields in that form and the users can’t select a group in more than one field.
            Thanks for the help

            • antonio May 6, 2016 at 6:37 pm #

              Thanks,
              Sorry, you only can select one field where the plugin get the groups.
              Kind Regards,
              Antonio B.

  31. Tich June 17, 2016 at 2:58 pm #

    Hi, I have a scenario where I want a user to “switch” groups based on the forms they submit, the keyword there is “switch”. I can’t seem to find the option to automatically remove a user from a group when they are added to a new one. How can I achieve this?

    • antonio June 20, 2016 at 5:06 am #

      Hi Tich,
      sorry, this option is not available. You could use the ‘groups_created_user_group’ filter in the Groups API, to remove the user from the other groups when the user is going to be added to a group.
      Kind Regards,
      Antonio B.

  32. Nick Kraemer February 19, 2017 at 2:28 am #

    1 Pre-sale Question: I need to create a new group (asci string) created when a user completes a particular gravity forms (vs selecting a group), then of course be added to that group. Built in or quick code fix?

    • antonio February 21, 2017 at 9:51 am #

      Hi Nick,
      Sorry, this option is not available. You could use the Groups API with the ‘gform_after_submission’ filter.
      Kind Regards,
      Antonio B.

      • sonny July 5, 2017 at 6:42 am #

        Antonio, can you please elaborate a bit on how to go about doing what Nick Kraemer was asking for? I need the exact same functionality (and it seems a lot of others do as well, judging by the number of times it’s been asked)…. thanks

        • antonio July 18, 2017 at 8:03 am #

          Hi sonny,
          Sorry for the delay. Answered here.
          Kind Regards,
          Antonio B.

  33. Sonny July 4, 2017 at 7:18 pm #

    Hi,

    This is a follow up to pre-purchase question left over at CodeCanyon, reproduced below. We’ve now purchased the plug-in and would like to make the following minor adjustment:

    -Original Question:

    We need a script that automatically creates a new group when a user submits a Gravity registration form. So, in principle, John registers as a user, and a group called “John” is automatically created. Is this possible?

    –itthinx Response:

    Hi, although this isn’t currently supported, it could be added but the usefulness would depend on what you’re expecting to happen with the group after a user has been allowed to create it. If the user is allowed to add a group from the front end, would you also assume the user is able to add or remove members, restrict content, etc?

    – Our response:

    After the group is created, no further front end group capabilities are required or desired. The idea is that the group is simply created by submission of the form. Later, other users should be allowed to join the group by submitting a registration form and inputting the word “John” into a field built-in for that purpose.

    Could you guys help?

    Thanks so much

    • antonio July 18, 2017 at 8:00 am #

      Hi Sonny,
      I have created this code, that you can use. You need to change the $entry[‘1’] to $entry[‘2’], $entry[‘3’], … according to your group’s name field position on the form.
      Kind Regards,
      Antonio B.

  34. George July 10, 2017 at 6:44 pm #

    I am looking for a solution where a user can register using custom fields. After the user has logged in, the user can add his people to form some kind of a community, the user’s community can optionally be added as other user. Can Gravity forms achieve this

    • antonio July 11, 2017 at 6:35 am #

      Hi George,
      I think our plugin does not do what you are looking for.
      With Groups Gravity Forms you can assign users to groups according to a field in a form, but nothing related to creating communities.
      Kind Regards,
      Antonio B.

Leave a Reply