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
only show some submission data on thanks page
#1
How do I only show some submission data on thanks page instead of all of it. As it is now I use:

PHP Code:
<?php
require_once("XXX/global/api/api.php");
?>

at the top of the page. Then I use 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"]);
  }    
}
?>
in the area on the thanks page that I want to show the submission data. The problem is I don't want to show all the data, just 7 of the fields. The way I have it now, it show everything.
thanks for your help!


Reply
#2
Hi Slabadoo,

Sorry for not responding sooner! See our correspondence in this thread:
http://forums.formtools.org/showthread.php?tid=1173

- Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)