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 cant get field value

  1. blueprintds
    Member

    So my script is simple right now just to test out the $entry field id's.

    add_action("gform_after_submission_3", "set_post_content", 10, 2);
    function set_post_content($entry, $form){
    $subject = $entry["28"] . 'Applied as: ' . $entry["2"];
     mail( $emailremoved, $subject, $message);
    }

    Right now entry 28 is a dropdown, this one works.
    Entry 2 is the name field with split first and last. This returns nothing. Ive also tried $entry["2.1"] and get nothing.
    Entry 34 (not added) is a multi checkbox. This value is not echoed out either. This is a multipage form, but that shouldnt matter.
    Any ideas why the values are not returning? They are saving to the form entry.

    Posted 12 years ago on Tuesday May 29, 2012 | Permalink