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.

Add filter for lead before GFFormDisplay::handle_submission

  1. Adding in this filter allows you to update a lead rather than submit a new one. Please add to GFFormDisplay before the call to handle_submission();

    //NOTE: Custom Hook Allowing Lead To Be Updated Rather Than Created
    $lead = apply_filters("gform_pre_submission_lead_filter_{$form["id"]}", $lead, $form);

    Posted 13 years ago on Monday December 5, 2011 | Permalink
  2. Please provide more details on how this hook would be used and some examples of possible use cases so we can get a better understanding of what this hook would be used for. The ability to edit and update existing entries is a already on our roadmap so I need to see how this fits in with what is already planned.

    Posted 13 years ago on Monday December 5, 2011 | Permalink