Apr 10th, 2010, 6:45 PM
Hey lukeboy,
All fixed. Download the latest version of the API (1.0.1) from here:
http://docs.formtools.org/api/?page=ft_api_process_form
I've updated that page with a little documentation to explain the new setting.
What you'll need to do is explicitly tell the ft_api_process_form() function when to send the emails. So on the first page, add this key-value pair:
On the final page, add
After this is done, even though the submission is finalized on step1, it'll only send the emails on step2.
Hope this helps!
- Ben
All fixed. Download the latest version of the API (1.0.1) from here:
http://docs.formtools.org/api/?page=ft_api_process_form
I've updated that page with a little documentation to explain the new setting.
What you'll need to do is explicitly tell the ft_api_process_form() function when to send the emails. So on the first page, add this key-value pair:
PHP Code:
$params = array(
...
"send_emails" => false
);
On the final page, add
PHP Code:
$params = array(
...
"send_emails" => true
);
After this is done, even though the submission is finalized on step1, it'll only send the emails on step2.
Hope this helps!
- Ben