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
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
5)Saved the .php page and uploaded to webhost.
6) Configured thankyou3.php to include the code at the top of the page
7) Uploaded thankyou3.php to webhost.
8) "Log into Form Tools (as the administrator) and on the Forms page, click on "Add Form". Continue to step 3 and click on the second "Code" option. There, it will have generated a line of PHP which looks like this (X will be your form number): "
Overwritten with the following on the form page as it's my 4th FT Form:
9) Uploaded .php form page to webhost
10) Gone to thankyou3.php in web browser to clear sessions
11) Gone to form page to submit a test submission. (after pressing submit it doesn't divert to the thankyou3.php, but it refreshes the form page and has cleared all field entries.)
12) Gone to Admin Login in my FT, refreshed page
Still says "Form Tools hasn't received a successful test submission yet. "
Any help or direction would be appreciated, as I'm kicking myself. Purely due to me having done this procedure 3 times before and for the life of me can't get it to accept the test submission this time.
Cheers.
lol. Weirdly enough, I tried one more time and it worked.
Very odd.
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:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
5)Saved the .php page and uploaded to webhost.
6) Configured thankyou3.php to include the code at the top of the page
PHP Code:
<?php
require_once("global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>
7) Uploaded thankyou3.php to webhost.
8) "Log into Form Tools (as the administrator) and on the Forms page, click on "Add Form". Continue to step 3 and click on the second "Code" option. There, it will have generated a line of PHP which looks like this (X will be your form number): "
Overwritten with the following on the form page as it's my 4th FT Form:
PHP Code:
$fields = ft_api_init_form_page(4, "initialize");
9) Uploaded .php form page to webhost
10) Gone to thankyou3.php in web browser to clear sessions
11) Gone to form page to submit a test submission. (after pressing submit it doesn't divert to the thankyou3.php, but it refreshes the form page and has cleared all field entries.)
12) Gone to Admin Login in my FT, refreshed page
Still says "Form Tools hasn't received a successful test submission yet. "
Any help or direction would be appreciated, as I'm kicking myself. Purely due to me having done this procedure 3 times before and for the life of me can't get it to accept the test submission this time.
Cheers.
lol. Weirdly enough, I tried one more time and it worked.
Very odd.