Dec 3rd, 2017, 6:11 PM
(Dec 3rd, 2017, 4:50 PM)chalorlay Wrote: Its been a month, probably its too late.
Anyway... solved?
Internal or external form?
If your using an external form, this would be the portion of code you need at the top of your form along with everything else you would need for it.
Code:
if (empty($errors))
{
$params = array(
"submit_button" => "sbmt",
"next_page" => "https://www.website.com/thank-you.php",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
}
// it failed validation. Update $fields with the latest contents of the form data
else
{
$fields = array_merge($_SESSION["form_tools_form"], $_POST);
}
}