Aug 11th, 2009, 6:39 AM
Hi Ben,
That's brilliant! That SmartFill Button works like magic.
And now to the next problem... (sorry!)
When I login I am taken to the form that I have previously submitted so that I can continue editing it (so far so good...) The problem is that because this form has already been submitted, when I submit the form again it returns error #302 - the form has already been finalized.
I think I have found the code in the api.php file that checks whether the form has been finalized. The code starts on line 616
What I have is done is to delete this code and it seems to works fine. But I just want to check with you that I have done the right thing and it wont mess anything up!
Thanks again!
That's brilliant! That SmartFill Button works like magic.
And now to the next problem... (sorry!)
When I login I am taken to the form that I have previously submitted so that I can continue editing it (so far so good...) The problem is that because this form has already been submitted, when I submit the form again it returns error #302 - the form has already been finalized.
I think I have found the code in the api.php file that checks whether the form has been finalized. The code starts on line 616
PHP Code:
// check the submission ID isn't finalized
if (!$may_update_finalized_submissions && ft_check_submission_finalized($form_id, $submission_id))
{
if ($g_api_debug)
{
$page_vars = array("message_type" => "error", "error_code" => 302, "error_type" => "user",
"debugging" => "{$LANG["phrase_submission_id"]}: $submission_id");
ft_display_page("../../global/smarty/messages.tpl", $page_vars);
exit;
}
else
return array(false, 302);
}
Thanks again!