Form populates but frequently doesn't save

Issue #35 new
Trey Mitchell created an issue

I've got a form that will always populate with the post data, but when I submit the form it doesn't always update the post. Most of the time it does, but about 1 in 6 times it just fails to update the post.

I'm including the form in a Wordpress page template as follows:

gform_update_post::setup_form( 73 ); gravity_form( 5 );

The values for the form and post ids are actually passed via query string, but that part seems to work since the form is always loading with the proper post data included.

Is there some better/more reliable way to include the form in my theme? Can you think of any logical explanation for why it would sometimes update the post, but not always?

Comments (2)

  1. Jacob Snyder repo owner

    do_action('gform_update_post/setup_form', $post->ID);

    Is better. Let me know if this is still an issue.

  2. Log in to comment