Mar 3rd, 2010, 8:31 PM
Hi,
I'm new to Form Tools and am so far liking it. However, I'm having a couple of issues.
1. no_sessions_url doesn't want to work for me. I clear out the session and reload the page and it stays on the same page in the multipart form (e.g. form3.php when it should go back to form1.php).
2. For some reason I can't get a value from the $fields array. When I added print_r($fields); I get:
Here's my setup for the second form:
The variable "sqft" is from the first field but doesn't show anything.
Thanks in advanced for any guidance.
I'm new to Form Tools and am so far liking it. However, I'm having a couple of issues.
1. no_sessions_url doesn't want to work for me. I clear out the session and reload the page and it stays on the same page in the multipart form (e.g. form3.php when it should go back to form1.php).
2. For some reason I can't get a value from the $fields array. When I added print_r($fields); I get:
Code:
Array ( [form_tools_form_id] => test [form_tools_submission_id] => test )
Here's my setup for the second form:
Code:
$fields = ft_api_init_form_page();
$params = array(
"submit_button" => "submit2",
"next_page" => "form3.php",
"form_data" => $_POST,
"no_sessions_url" => "form1.php"
);
ft_api_process_form($params);
print_r($fields);
echo @$fields["sqft"];
The variable "sqft" is from the first field but doesn't show anything.
Thanks in advanced for any guidance.