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.

gform_after_submission error message

  1. I'm using the gform_after_submission hook to submit data to a 3rd party plugin. I'd like to change the confirmation message if an error occurs when saving the data.

    I'm not sure however how to tie this in with the gform_confirmation hook since they are two separate functions.

    Thanks

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink
  2. Hi ecafe,

    The gform_confirmation hook also passes the the $entry object (which I assume is all you need to submit the data to the 3rd party plugin). Using this hook instead of the gform_after_submission hook will allow you return an updated confirmation message based on the 3rd party response.

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink