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.

Form submission results on new page

  1. Hi,

    I've checked the forums and couldn't find a solution to this. After the user submits a form, I would like the confirmation to be on a generated page, with all the submission results.

    I have looked at this topic and this doesn't work for me:

    http://www.gravityhelp.com/forums/topic/can-pages-be-created-from-form-submissions

    I've added the following to my functions.php but it hasn't changed anything:

    add_filter("gform_post_data", "change_post_type", 10, 2);
    function change_post_type($post_data, $form){
        //only change post type on form id X
        if($form["id"] == 4) // You need to change your form ID here
           return $post_data;
    
    	   // Add other page data to change
    	   $post_data["post_type"] = "page";
    	   $post_data["post_parent"] = 494;
        return $post_data;
    }

    I've tried this when using Form Settings > Confirmation > Page but this doesn't work - it just goes to the page (in my case page id 494) with no submission results.

    Maybe I am missing something really simple here...

    Posted 7 years ago on Wednesday September 7, 2011 | Permalink