Jul 6th, 2011, 4:34 AM
(Jul 1st, 2011, 7:29 AM)Ben Wrote: Heya,
Ah! On your very first page, you need to put this block of code at the very top, before the opening DOCTYPE.
Code:<?php
require_once("formtools/global/api/api.php");
$fields = ft_api_init_form_page("", "test");
$params = array(
"submit_button" => "submit_order1",
"next_page" => "choose-image.php",
"form_data" => $_POST
);
ft_api_process_form($params);
print_r($fields);
?>
The reason is that the ft_api_process_form() function actually redirects from one page to the next, but it can only do so if nothing's been output to the browser when it's called.
- Ben
Sorry Ben, but that don't seem to work either. I still get the "Form Tools hasn't received a successful test submission yet" in step 3 - And I don't know how to get past it? Can you tell me if it is a must to fill the form fields with php? Or will this tool do it for me? I need the last one since my php isn't to good... But please tell me - then I can move on with the more simple (Direct) Tool instead. ... Thank you so much Ben