Jan 28th, 2011, 9:10 AM
(This post was last modified: Jan 28th, 2011, 9:22 AM by TechOnPurpose.)
Hi,
I'm new to Form Tools, but I think I can answer this question.
The problem is that you are following the suggested placement of the session and field reset code.
At the top of the thank you page, only put the code:
Then at the very bottom of your thank you page, put:
What is happening is that you are clearing the session info and post fields before you display them.
I hope this works for you. I haven't tried it, but it seems to be the logical reason for your failure to be able to print the data.
I'm new to Form Tools, but I think I can answer this question.
The problem is that you are following the suggested placement of the session and field reset code.
At the top of the thank you page, only put the code:
PHP Code:
<?php
require_once("/data/18/1/10/67/1662067/user/1792427/htdocs/ourforms/global/api/api.php");
$fields = ft_api_init_form_page();
// according to the api docs, this may have to be $fields = ft_api_init_form_page(X); where X is the form ID. See the documentation page on the function ft_api_clear_form_sessions().
?>
Then at the very bottom of your thank you page, put:
PHP Code:
<?php
ft_api_clear_form_sessions();
?>
What is happening is that you are clearing the session info and post fields before you display them.
I hope this works for you. I haven't tried it, but it seems to be the logical reason for your failure to be able to print the data.