Ben,
Thanks for the quick response. I made the changes as reflected below. When I submit the form the data is cleared and returned to the same form. I am at a loss as everything appears correct on my end.
MAIN FORM:
<?php
require_once("/home/cdp/public_html/data/global/api/api.php");
$fields = ft_api_init_form_page(1, "initialize");
$params = array(
"submit_button" => "submit",
"next_page" => "/home/cdp/public_html/thanks/index.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
THANKS PAGE:
<?php
require_once("/home/cdp/public_html/data/global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>
CONFIG:
// main program paths - no trailing slashes!
$g_root_url = "http://www.downtownchattanooga.org/data";
$g_root_dir = "/home/cdp/public_html/data";
$g_api_recaptcha_private_key = "6XXXXXXXXXXXXXXXXXXXXXXXXXXX";
$g_api_recaptcha_public_key = "66666666666666666666666666666";
// database settings
$g_db_hostname = "localhost";
$g_db_name = "XXXXX";
$g_db_username = "XXXXX";
$g_db_password = "XXXXXXX";
$g_table_prefix = "ft_";
?>
Thanks for the quick response. I made the changes as reflected below. When I submit the form the data is cleared and returned to the same form. I am at a loss as everything appears correct on my end.
MAIN FORM:
<?php
require_once("/home/cdp/public_html/data/global/api/api.php");
$fields = ft_api_init_form_page(1, "initialize");
$params = array(
"submit_button" => "submit",
"next_page" => "/home/cdp/public_html/thanks/index.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
THANKS PAGE:
<?php
require_once("/home/cdp/public_html/data/global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>
CONFIG:
// main program paths - no trailing slashes!
$g_root_url = "http://www.downtownchattanooga.org/data";
$g_root_dir = "/home/cdp/public_html/data";
$g_api_recaptcha_private_key = "6XXXXXXXXXXXXXXXXXXXXXXXXXXX";
$g_api_recaptcha_public_key = "66666666666666666666666666666";
// database settings
$g_db_hostname = "localhost";
$g_db_name = "XXXXX";
$g_db_username = "XXXXX";
$g_db_password = "XXXXXXX";
$g_table_prefix = "ft_";
?>