FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing data to confirmation page
#1
How does one get data to use on the confirmation page when using the API. I am particularly interested on the submission ID and one or two specific form fields.

Dave
Reply
#2
Hi Filch,

Since you're using the API, you already have all the form information available on the confirmation page - right up until the point where sessions are emptied.

So, assuming the PHP at the top of your page looks something like this...

PHP Code:
<?php
require_once("path/to/global/api/api.php");
$fields ft_api_init_form_page();
ft_api_clear_form_sessions();
?>

You can then use the $fields variable to extract whatever information you want, like $fields["submission_id"].

Hope this helps -

Ben
Reply
#3
That should indeed help. Thanks Ben.

(Apr 4th, 2010, 11:15 AM)Ben Wrote: Hi Filch,

Since you're using the API, you already have all the form information available on the confirmation page - right up until the point where sessions are emptied.

So, assuming the PHP at the top of your page looks something like this...

PHP Code:
<?php
require_once("path/to/global/api/api.php");
$fields ft_api_init_form_page();
ft_api_clear_form_sessions();
?>

You can then use the $fields variable to extract whatever information you want, like $fields["submission_id"].

Hope this helps -

Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)