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.

Are there any examples of sending entry data via ajax after submission?

  1. developdaly
    Member

    I want to be able to submit a form, post to the WordPress database, and then submit the data via ajax to a remote service.

    The user would hit submit, the page would refresh (because Gravity verified and saved the data) and the user would see a spinner while the ajax post to the remote service is executing until they finally get their confirmation.

    So any examples? Would you use gform_after_submission?

    Posted 11 years ago on Friday December 14, 2012 | Permalink
  2. I have not see any examples of this functionality. Were you able to work something out?

    You would probably use gform_pre_submission, since you want this all done before the confirmation is shown. If you use gform_after_submission, the confirmation will already have been shown.

    Posted 11 years ago on Wednesday January 2, 2013 | Permalink