Form Tools
After the submit bug in the redirect to the succes.php - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: After the submit bug in the redirect to the succes.php (/showthread.php?tid=5151)



After the submit bug in the redirect to the succes.php - Logeate - May 6th, 2015

Hi,
I have been trying integrating formtools through the API, I have reviewed all Threats related, and I do not know why once the completed form (and sent correctly) no forwarding is executed to the page succes.php (which in my case it is called formulariook.php)

This is the URL of the form:

http://www.coachingwingwave.cat/contacto.php

Here I leave the code that I have in the form page:

<Form action = "<? Php echo $ _SERVER ['PHP_SELF']?>" Method = "post">

<? Php
require_once ("/home/adminjoaquimb/public_html/formtools/global/api/api.php");
$ Fields = ft_api_init_form_page (5);
$ Params = array (
"Submit_button" => "submit"
"Next_page" => "contactoformulariook.php"
"Form_data" => $ _POST,
"Finalize" => true
);
ft_api_process_form ($ params);
?>

And this in succes.php page (formulariook.php)

<? Php
require_once ('/ home / adminjoaquimb / public_html / formtools / global / api / api.php ");
$ Fields = ft_api_init_form_page ();
ft_api_clear_form_sessions ();
?>

I tried to change and try everything but I can not make it work well, does anyone know what is happening? .. Thanks in advance,
Regards
Victor