Aug 21st, 2011, 10:02 PM
Hello Ben,
Do I have to put: ft_api_delete_unfinalized_submissions($form_id, false); on each multipageform? or only at the last submit page?
Something like this:
<?php
require_once ("global/api/api.php");
$fields = ft_api_init_form_page();
$params = array(
"submit_button" => "sbmt",
"next_page" => "stap7.php",
"form_data" => $_POST,
"no_sessions_url" => "index.php",
"finalize" => true
);
ft_api_delete_unfinalized_submissions(3, false);
ft_api_process_form($params);
?>
3 is the number of the form ID.
Thanks, regards Wout
Do I have to put: ft_api_delete_unfinalized_submissions($form_id, false); on each multipageform? or only at the last submit page?
Something like this:
<?php
require_once ("global/api/api.php");
$fields = ft_api_init_form_page();
$params = array(
"submit_button" => "sbmt",
"next_page" => "stap7.php",
"form_data" => $_POST,
"no_sessions_url" => "index.php",
"finalize" => true
);
ft_api_delete_unfinalized_submissions(3, false);
ft_api_process_form($params);
?>
3 is the number of the form ID.
Thanks, regards Wout