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.

Post to custom page after submission

  1. cliffdangler
    Member

    Hi,

    Is it possible to add additional functionality after the form has been submitted?
    Steps are as follows:

    1. User submits the Gravity Form (and the entry is automatically saved to the database)
    2. Form data gets posted to a custom page whereby the data is further validated and then posted to another script (on another domain) via CURL and JSON
    3. The receiving script will return JSON data, with a "success" parameter of either true or false
    4. Based on the "success" parameter, the Gravity Form Entry parameter of "registered_third_party" needs to be also updated to true or false
    5. The normal "Thank you" response is displayed if successful or "Error" message if "success" was false

    Is this possible?
    Note that I am using the "Personal" License.

    Thanks

    Posted 13 years ago on Thursday May 31, 2012 | Permalink
  2. David Peralty

    Have a look at this hook:
    http://www.gravityhelp.com/documentation/page/Gform_after_submission

    Posted 13 years ago on Thursday May 31, 2012 | Permalink
  3. cliffdangler
    Member

    Thank you David - looks good

    Posted 13 years ago on Thursday May 31, 2012 | Permalink