Closed tomodea42 closed 6 years ago
I'd be most grateful if someone could have a look at this problem and let us know if something can be done to address it. Thanks, Tom O'Dea
I'm having a similar problem, however, my issue is that I can't get the bi-directional field to save when populated from the predefined hidden field that has a predefined value of {user:user_login}. Jim tried to assist me with this tonight but it was out of support hours so we couldn't get to the bottom of it.
The field is generating perfectly within the gravity form on the front end and the post is saving the other fields, but it doesn't save the user-ID as the user within the bi-directional field.
Any help would be great.
Thanks
Please try the latest 1.4 I'm working on: https://github.com/pods-framework/pods-gravity-forms/archive/feature/skc-fixes.zip
I believe I have the same issue. I have a multi-step form and it is not remembering the check boxes chosen when I push next and then previous. I've tried using the suggested code posted by sc0ttkclark but this hasn't fixed the issue for me. I can provide a URL for this if required.
If this issue is not likely to get resolved soon could you update this thread so i can request a refund from gravity forms as it this is a requirement for me to be able to use the plugin.
Ask Gravity Forms for access to their new beta add-on that is generalized for custom fields. It's not Pods specific and doesn't come with some of the things we have in our add-on, but it should be suitable and works great. It's not yet released, so you'd be using some sort of beta version of it, but it's high quality from the code I've seen and used.
I wouldn't request a refund for your Gravity Forms license, it's still a great solution and they deserve the money for their efforts plus support.
@winnersmedia It also sounds like you're experiencing a different issue than what is described in the bug above. This is about 'populating' existing records and the relationship fields not loading. Your issue sounds like the selections in the form aren't remembering their selections between sessions in a next and previous page form. That's a Gravity Forms bug and you should escalate to them since you have purchased the product.
@letmegreg Based on your question above:
I'm having a similar problem, however, my issue is that I can't get the bi-directional field to save when populated from the predefined hidden field that has a predefined value of {user:user_login}. Jim tried to assist me with this tonight but it was out of support hours so we couldn't get to the bottom of it.
The field is generating perfectly within the gravity form on the front end and the post is saving the other fields, but it doesn't save the user-ID as the user within the bi-directional field.
If you're connecting to a relationship through a hidden field, you'd use the Meta Tax {user:ID}, not {user:user_login} because the relationship to 'Users' is to the ID not the login.
Hi, this is the response from gravity forms:
Hi Matt,
I'm afraid this is something the pods team will need to fix, they are only populating the field via the gform_pre_render filter, for the choice selection to remain when paging on a multi-page form they also need to populate the field via the gform_pre_validation filter.
Thanks for the update @winnersmedia. @sc0ttkclark Do you need this particular piece in it's own Issue since I don't think this and the original error report are related at all?
Hi, is this now a new issue? Seems quite an important one. Is there a workaround?
Try the latest 1.4 beta, I pushed a fix for the hook there:
https://github.com/pods-framework/pods-gravity-forms/archive/feature/skc-fixes.zip
We have a problem with the use of the Pods Gravity Forms Add-On.
When we have a multi-select field which represents a relationship to another Pod, only the first item in the multi-select list gets accepted.
Software Versions We are using WordPress Version: 4.4.2 with these plugins: • Gravity Forms: 1.9.17.5. • Pods - Custom Content Types and Fields: 2.6.1. • Pods Alternative Cache: 1.0. • Pods Frontier Auto Template: 1.2.1. • Pods Gravity Forms Add-On: 1.0.
The Business Need The aim is to enable the users to create a Project and invite people to Volunteer for that project. We therefore have a many-to-many relationship between Projects and Volunteers. When we display a Project, we want to include in the display a list of the volunteers that have signed up for that project. Similarly, when we display a Volunteer, we want to include in the display a list of the projects the volunteer has signed up for.
Pods Definitions We have defined 2 Pods Custom Post Types:
Using Pods We can successfully create new instances of Projects and Volunteers and establish many-to-many relationships between them via the WordPress backend. We can successfully display projects and volunteers and follow the links from a project to a volunteer or from a volunteer to a project. The displays are presented using Pod templates. We want to use Gravity Forms to provide a user-friendly front-end to enable authorised users to submit a new Project or to sign up as a Volunteer.
Gravity Forms Definitions There are 2 Gravity Forms forms:
Use of Pods Gravity Forms Add-On We are using the Pods Gravity Forms Add-On to handle the mapping between each of the Gravity Forms form fields to the appropriate Pods field. There are 2 Pods Feeds defined:
Here is an example:
I've attached 2 TXT files: a JSON export of the Pods configuration and a JSON export of the Gravity Forms configuration. gravityforms-export-2016-03-19.json.txt pods-export-2016-03-19.json.txt