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.

get form id, not entry id from gform_post_submission hook

  1. d4le
    Member

    I'm using the gform_post_submission hook and a print_r of the array doesn't tell me the the form_id, it tells me the entry_id. How do I get the form_id? This is a very important routing detail for multiple forms!

    Don't tell my I'm going to have to pre-populate the forms with a hidden field with their own IDs, just so a post_submission knows what form it came from?

    Posted 15 years ago on Wednesday November 18, 2009 | Permalink
  2. Unfortunately, good catch.
    It does seem like I have overlooked the form_id in that hook. We will be releasing a couple of bug fixes in the next few days and I will include the "fix" for this in it.

    Posted 15 years ago on Wednesday November 18, 2009 | Permalink