Feb 6th, 2014, 1:05 PM
(Feb 6th, 2014, 11:18 AM)Joe Wrote: Hi there,
This is how the API code should look on a form:
<?php
require_once("path to the global/api/api.php file on your server");
$fields = ft_api_init_form_page(your form ID);
$params = array(
"submit_button" => "name of your submit button",
"next_page" => "next page",
"form_data" => $_POST,
"no_sessions_url" => "page you want to redirect to if no session",
"may_update_finalized_submissions" => true
);
ft_api_process_form($params);
?>
This is how the API should look on your thank you page:
<?php
require_once("path to the global/api/api.php file on your server");
$fields = ft_api_init_form_page(your form ID);
ft_api_clear_form_sessions();
?>
Cheers,
Joe
THANK YOU SO MUCH! I'll give this a try...