Interesting... I confess I hadn't considered this scenario...
Probably the simplest solution would be to include an extra parameter to your ft_api_process_form function called may_update_finalized_submissions. I added in that option to allow for people to update their own submissions at a later date, but I think it would work well in this situation too. Here's some example code:
You'll probably want to add that option to all pages in your form, just in case.
N.B. I just checked the ft_api_process_form() documentation page for this information and it's totally missing. I'll be sure to update it.
Excellent. I'm really enjoying your feedback in the forums. Lots of good stuff. I'm wondering if perhaps may_update_finalized_submissions should default to true instead of false...?
- Ben
Probably the simplest solution would be to include an extra parameter to your ft_api_process_form function called may_update_finalized_submissions. I added in that option to allow for people to update their own submissions at a later date, but I think it would work well in this situation too. Here's some example code:
PHP Code:
$params = array(
'submit_button' => 'submit',
'next_page' => $_SERVER['PHP_SELF'],
'form_data' => $_POST,
'may_update_finalized_submissions' => true,
'finalize' => true
);
ft_api_process_form($params);
You'll probably want to add that option to all pages in your form, just in case.
N.B. I just checked the ft_api_process_form() documentation page for this information and it's totally missing. I'll be sure to update it.
Excellent. I'm really enjoying your feedback in the forums. Lots of good stuff. I'm wondering if perhaps may_update_finalized_submissions should default to true instead of false...?
- Ben