Mar 17th, 2015, 2:38 AM
Hi,
when submitting my form for the first time I got redirected to the thank you page which is fine.
When I clicked submit for the second time, I get the following error:
"Service Temporarily Unavailable" (503)..The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Instead it would be good to get something like:"sorry you filled the form in already.."
<?php
require_once("../FormTools_01/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "kontaktsenden",
"next_page" => "thanks.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
Thanks.php:
<?php
require_once("../FormTools_01/global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>
when submitting my form for the first time I got redirected to the thank you page which is fine.
When I clicked submit for the second time, I get the following error:
"Service Temporarily Unavailable" (503)..The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Instead it would be good to get something like:"sorry you filled the form in already.."
<?php
require_once("../FormTools_01/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "kontaktsenden",
"next_page" => "thanks.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
Thanks.php:
<?php
require_once("../FormTools_01/global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>