Mar 22nd, 2010, 6:41 PM
Sure...
There are three or four forms on the page, but there is only one using FormTools, specifically the API.
On the top of the page 1, my code reads:
And the form post is:
What seems to happen is that I can submit the first three pages, then rather then getting to the thank you page, I get stuck in a blank screen.
The third page code reads:
And the form processor tag reads:
Does this help? Anything else you need?
There are three or four forms on the page, but there is only one using FormTools, specifically the API.
On the top of the page 1, my code reads:
PHP Code:
<?php
require_once("/home/ZZZZZZ/forms2/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "Submit",
"next_page" => "hs-apply-2.php",
"form_data" => $_POST,
"file_data" => $_FILES
);
And the form post is:
PHP Code:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
What seems to happen is that I can submit the first three pages, then rather then getting to the thank you page, I get stuck in a blank screen.
The third page code reads:
PHP Code:
<?php
require_once("/home/ZZZZZZ/forms2/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "Submit",
"next_page" => "thanks.php",
"form_data" => $_POST,
"no_sessions_url" => "hs-apply-1.php",
"finalize" => true,
"file_data" => $_FILES
);
ft_api_process_form($params);
?>
And the form processor tag reads:
PHP Code:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
Does this help? Anything else you need?