Mar 21st, 2010, 3:35 PM
Not quite the same thing, but it might give you an idea? I'm using this to check for the presence of form_id (cheers Ben!).
Presumably you could test for a value that should have been completed and do something similar?
Code:
// this is probably worth doing, just in case! It makes double-sure that the form ID
// is available in the page. Without it, nothing would work. This could redirect to a different page
if (empty($form_id) || !is_numeric($form_id))
{
// header("location: noformid.php");
echo "whatever";
// exit;
}
Presumably you could test for a value that should have been completed and do something similar?
(Mar 19th, 2010, 7:39 AM)Jaace Wrote: I was wondering if there is a way to add the "no_sessions_url" parameter to the Thank You page on a two page form (non-Paypal).
I don't want users to be able to access pages when they aren't supposed to. I tired adding:
Code:$params = array("no_sessions_url" => "/page-to-redirect-to");
between the call to ft_api_init_form_page and ft_api_clear_form_sessions on my thank you page...but no luck.