Closed milesgwood closed 7 years ago
Have you tried setting up the Pods feed itself from the form settings?
I did set up the Pods feed in the form settings. The feed works fine when I preview the form or place the form into a page. All of the correct fields connect to the correct Pods fields.
The problem occurs when I place the form on the dashboard. When the form is submitted from the dashboard, it creates a new basic post instead of feeding into Pods.
Fixed by #67
So I am trying to add a GF to the dashboard that feeds into pods. I used this code found here to display the form successfully.
The form displays properly but upon submission it creates a new Post instead of feeding into pods and populating the custom fields. When the form is put into a regular page it feeds into the correct pod and creates the post I would expect it to.
I found another issue here that explained how to manually create the pod.. Using the code from that post I was able to manually create and populate the pod but I feel it should work without this code. I would like to display forms throughout my theme without having to manually create pods objects.
Here is my code for manually creating the pods object from the form submission.