May 2nd, 2011, 4:58 AM
Hi Ben,
I am generating it via this in my thanks.php page:
Then where I want the output on my thanks.php page, I have this:
I am not sure if the pass on feature works for what I am trying to do becuase if I pass on it in the formtools I imagine it wont show in the submissions. Any ideas?
Thanks,
Slabadoo
I am generating it via this in my thanks.php page:
PHP Code:
<?php
require_once("XXX/global/api/api.php");
?>
Then where I want the output on my thanks.php page, I have this:
PHP Code:
<?php
if (isset($_GET["submission_id"]) && isset($_GET["unique_key"]))
{
$form_id = 1;
$view_id = 1;
$export_type_id = 2;
$submission_info = ft_api_get_submission($form_id, $_GET["submission_id"]);
// now confirm that the unique_key matches
if (isset($submission_info["unique_key"]) &&
$submission_info["unique_key"] == $_GET["unique_key"])
{
ft_api_show_submission($form_id, $view_id, $export_type_id, $_GET["submission_id"]);
}
}
?>
I am not sure if the pass on feature works for what I am trying to do becuase if I pass on it in the formtools I imagine it wont show in the submissions. Any ideas?
Thanks,
Slabadoo