pods-framework / pods-gravity-forms

Integration with Gravity Forms plugin for WordPress (https://pods.io/gravityforms/)
https://wordpress.org/plugins/pods-gravity-forms/
GNU General Public License v2.0
62 stars 10 forks source link

Can't process form #22

Closed schutzsmith closed 8 years ago

schutzsmith commented 10 years ago

Haven't been able to get this to work yet on two different sites.

I submit the form and then it says: "Either Pod ID or Name are required"

Not sure what we need to do on our end to make this actually work.

We are trying to just set the title and body of a Post and a Page. Trying to run two of these at the same time but even when we try one we get the same error. We have the most recent versions of Pods, Gravity Forms, and the Pods Gravity Forms plugins.

It did process the entries into Gravity Forms, but nothing happened for the Pods.

Shelob9 commented 10 years ago

@schutzsmith Am I understanding correctly that you are trying to use GF to populate custom fields in the built-in posts types Posts and Pages? If so, did you extend those post types with Pods before setting up the Pods GF integration? That error makes me think you didn't extend those post types.

Please let me know if I'm on the right track or not here. I spoke with @naomicbush and she said she was unable to reproduce this issue. I'm wondering if it's either a configuration issue, or a conflict with something on your site. We'll work with you to get it working, we just need to narrow down why it's not working for you.

schutzsmith commented 10 years ago

I believe I extended it correctly. This is what I have in Pods https://www.evernote.com/shard/s2/sh/3ab7dd5d-eca9-4ee3-843f-c1a49af0f47b/a21bd63f040af95125c9b397c129abf9/deep/0/Edit-Pods---PurposePress-Site-and-Edit-Pods---PurposePress-Site.png

I had made the pods for Post and then for Page and gave each 1 custom field just in case it needed something to trigger it.

Is that correct?

schutzsmith commented 10 years ago

Also, this is the code I'm using trying to add it to multiple Pods feeds:

add_action("gform_after_submission", "awesome_after_submission", 10, 2); function awesome_after_submission($entry, $form){ pods_api()->save_pod_item($params); }

sc0ttkclark commented 8 years ago

Closing this as fixed by recent commits.