Mar 4th, 2009, 12:47 PM
I feel rather stupid that I cannot figure this out and I am sure that I am missing something simple, but I cannot see it. I completed a test form and it all seemed to work ok but when I tried to submit a form to test it after it was setup I get the following error message:
ERROR
Error Type: User
Error Code: #101 — Learn more about this error.
The following is the existing code at the top of the form:
The form shows up in my /form_tools/admin/forms/ file as "Status: 'online' " so I am not sure what needs to be done now.
In the Error 101 Message it says:
This occurs when the form has already been marked as "complete" through the Form Tools interface, but you are still trying to send the test submission. This often means that you've simply forgotten to perform the final step: go to "live" mode. For "direct" submissions, you haven't removed the form_tools_initialize_form hidden field. For submissions via the API, you either (a) have set "finalize" to true, for a form that hasn't been fully set up or you haven't removed the second parameter of the ft_api_init_form_page function on your first form page for a form that HAS been set up. For the latter, clear your sessions (see the ft_api_clear_form_sessions function) and try putting through another submission.
Since I get the error message before being sent to the "next page/thankyou.php" page I think that I have missed something. I am not sure what is meant by going to the "live" mode. I have tried to clear the sessions mode manually in the browser and that does not help.
Suggestions please.....
Thanks,
Donald
ERROR
Error Type: User
Error Code: #101 — Learn more about this error.
The following is the existing code at the top of the form:
PHP Code:
<?php
require_once("/mounted-storage/home122c/sub009/sc67680-TSDG/www/form_tools/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "SignUp",
"next_page" => "/mounted-storage/home122c/sub009/sc67680-TSDG/www/postmodelsignup.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
The form shows up in my /form_tools/admin/forms/ file as "Status: 'online' " so I am not sure what needs to be done now.
In the Error 101 Message it says:
This occurs when the form has already been marked as "complete" through the Form Tools interface, but you are still trying to send the test submission. This often means that you've simply forgotten to perform the final step: go to "live" mode. For "direct" submissions, you haven't removed the form_tools_initialize_form hidden field. For submissions via the API, you either (a) have set "finalize" to true, for a form that hasn't been fully set up or you haven't removed the second parameter of the ft_api_init_form_page function on your first form page for a form that HAS been set up. For the latter, clear your sessions (see the ft_api_clear_form_sessions function) and try putting through another submission.
Since I get the error message before being sent to the "next page/thankyou.php" page I think that I have missed something. I am not sure what is meant by going to the "live" mode. I have tried to clear the sessions mode manually in the browser and that does not help.
Suggestions please.....
Thanks,
Donald