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_post_submission

  1. elinet
    Member

    Hi,
    i want make a script after the submission of the form.
    I want use the gform_post_submission hook.
    I am sure that all data is saved correctly before this hook?
    There's some api of the hook/s?

    Thanks

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  2. David Peralty

    Data is saved before this hook is called. Documentation for hooks is in our documentation section under Developer Docs:
    http://www.gravityhelp.com/documentation/page/Developer_Docs

    There is no API of hooks. What are you trying to do after you submit the form?

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  3. elinet
    Member

    Hi David,
    thanks for the link.
    After the form submit i want call a php script. Now this script is calling by a cron job every day, but it would be better for each registration..

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  4. David Peralty

    Yes, you'll probably want to hook into the post_submission hook. Let me know how it goes.

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  5. elinet
    Member

    Sorry but I had to change strategy based on requests from the boss :)

    Posted 12 years ago on Tuesday June 19, 2012 | Permalink