Up to 50 percent off

Fields not saved

This topic contains 5 reply and 4 voices, and was last updated by Mark 10 years, 5 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
February 26, 2014 at 7:37 pm 15862
Mark I have a custom post type with some custom taxonomies and a form to post to it. Form is on a page using shortcode. Custom fields are defined for input, with a name. Custom taxonomy as dropdown. What happens after submit button is pressed is:
  • The spinner keeps spinning forever
  • Post (custom type) are saved with post title (content not used)
  • No fields are saved. Has checked this in the database, no such keys in postmeta
  • Custom taxonomy are not set
I expected the form to finish (spinner stopping) and all values to be saved on the custom post used. Site as part of multisite.
February 26, 2014 at 8:12 pm 15865
Knut Knut

I have another form posting to another post type on the same site. It also has custom taxonomies and custom fields. Everything works as expected.

Nothing to be found on the debug.log (WP_DEBUG is true).

I can’t quite understand what makes this problem form different from the other, in principle.

Saving from the admin interface work normal.

February 28, 2014 at 10:49 am 15929
Mahi Mahi

Check this Documentation : http://docs.wedevs.com/stuck-in-a-endless-loop/

February 28, 2014 at 2:36 pm 15944
Knut Knut

Thank you for the reply. This solved it mostly. The response was that a custom field was empty. This field is required by Pods plugin, but also required by the form made with this plugin. This works fine on another form, also posting to a CPT made my Pods, also with a required custom field.

By removing the “required” attribute from the Pods definition, it now works.

The two problems that Pods should fix is:

  1. Not sending html error messages over ajax
  2. Not requiring “required” custom fields when saving through other forms that the one Pods control
April 9, 2014 at 11:53 pm 18412
alsur alsur

I was wondering if there are references/docs regarding PODS and WPUF integration.

Currently only a Gravity Form integration is available but with the sophisticated builders and relation handling of PODS it would be great to see a plugin to integrate PODS elements (metadata) as available to publish from WPUF back.

I’ve read and old entry from Tareq regarding this on WP forums. Any realistic chance of that happening?

Thanks.

June 18, 2014 at 12:41 am 22078
Mark Mark

I am having this problem as well. The taxonomies display ok on the front end form however when I save the item the taxonomies do not save. Other fields save ok, just not the custom taxonomy fields. The taxonomies are created using CPT-onomies: Using Custom Post Types as Taxonomies

Viewing 5 Posts - 1 through 5 (of 5 total)