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...