Dec 27th, 2012, 7:40 PM
(Jun 1st, 2010, 8:30 AM)vizzaroo Wrote: Hi Ben & Co
Really confused here, as stated before I've had FT API running for several months now and have created several different forms.
But this time for some reason it won't acknowledge the test submission, have repeated the process numerous times without success.
(http://docs.formtools.org/tutorials/api_...page=step1)
I'll describe what I'm doing to see if you can spot anything I'm doing wrong, I think it could have something to do with #11 in my list (bolded).
1) Created the html page with the html form. Saved the page as PHP
2) Within that page i've added the following code
PHP Code:<?php
require_once("global/api/api.php");
$fields = ft_api_init_form_page("", "test");
$params = array(
"submit_button" => "submit",
"next_page" => "thankyou3.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
3) Once I added the code I amended the paramaters to reflect my form and attributes. I.e Submit button = submit , thankyou page = thankyou3.php
4) Form action amendment. I've added
PHP Code:
<?php
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
