The thing is though, I do not think these are a result of unfinished submissions. There is simply too many of them. there is no way that someone started and did not finish this many times.
Dave
Ben, where do you put this bit of code ... on the form page or the thankyou page? I assume the form page ... yes?
Dave
Ben, can you clarify what "form_tools_submission_id" means in this case. In the instructions, you say "the $fields variable should be named to whatever your ft_api_init_form_page() function call returns" are you referring to the ID or what? Sorry is this is obvious and I just don't get it.
Dave
$fields["form_tools_submission_id"
Dave
(Mar 7th, 2010, 11:30 AM)Ben Wrote: Hey Dave,
Yeah - the API always reserves records for the form submissions, even those that don't get finished.
But here's an easy fix:
http://docs.formtools.org/api/?page=ft_a...ubmissions
That function deletes all old unfinalized submissions. You can just add it to your form page and it will always keep the database nice and clean.
Note: I strongly recommend omitting the second parameter (not setting it to true). The documentation page explains why.
All the best -
Ben
Ben, where do you put this bit of code ... on the form page or the thankyou page? I assume the form page ... yes?
Dave
(Mar 7th, 2010, 11:30 AM)Ben Wrote: Hey Dave,
Yeah - the API always reserves records for the form submissions, even those that don't get finished.
But here's an easy fix:
http://docs.formtools.org/api/?page=ft_a...ubmissions
That function deletes all old unfinalized submissions. You can just add it to your form page and it will always keep the database nice and clean.
Note: I strongly recommend omitting the second parameter (not setting it to true). The documentation page explains why.
All the best -
Ben
Ben, can you clarify what "form_tools_submission_id" means in this case. In the instructions, you say "the $fields variable should be named to whatever your ft_api_init_form_page() function call returns" are you referring to the ID or what? Sorry is this is obvious and I just don't get it.
Dave
$fields["form_tools_submission_id"
(Mar 7th, 2010, 11:42 AM)filch Wrote: The thing is though, I do not think these are a result of unfinished submissions. There is simply too many of them. there is no way that someone started and did not finish this many times.
Dave
(Mar 7th, 2010, 11:30 AM)Ben Wrote: Hey Dave,
Yeah - the API always reserves records for the form submissions, even those that don't get finished.
But here's an easy fix:
http://docs.formtools.org/api/?page=ft_a...ubmissions
That function deletes all old unfinalized submissions. You can just add it to your form page and it will always keep the database nice and clean.
Note: I strongly recommend omitting the second parameter (not setting it to true). The documentation page explains why.
All the best -
Ben
Ben, where do you put this bit of code ... on the form page or the thankyou page? I assume the form page ... yes?
Dave
(Mar 7th, 2010, 11:30 AM)Ben Wrote: Hey Dave,
Yeah - the API always reserves records for the form submissions, even those that don't get finished.
But here's an easy fix:
http://docs.formtools.org/api/?page=ft_a...ubmissions
That function deletes all old unfinalized submissions. You can just add it to your form page and it will always keep the database nice and clean.
Note: I strongly recommend omitting the second parameter (not setting it to true). The documentation page explains why.
All the best -
Ben