PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Disable Post Creation During Ajax Submission?

  1. jeffreyrbk
    Member

    Hi.

    New GF user, first post here.

    Sorry, I have two questions in this one topic post, though they are closely related, so I'll risk asking them both at once. :-)

    1.) It seems that the filter 'gform_disable_post_creation' is only applicable within standard (non-ajax) submissions. Is that correct?

    If so, is there some other way to bypass creation of a form submission entry post when the submission method is via ajax?

    2.) I'm feeding the entry data to a third-party application. It seems that ajax submissions do not flow through the 'gform_post_submission' hook. Is that correct?

    I am successfully using the 'gform_confirmation_loaded' hook by chaining to another custom ajax jQuery.post(), at the "expense" of a GF entry post each time. (Tolerable, but undesirable). :-)

    Is there some other way to "hook" into the entry (data) in order to continue-on to a third-party application when using ajax?

    Thanks!

    -- Jeffrey

    Posted 13 years ago on Thursday July 28, 2011 | Permalink