is it possible to completely disable the redirect/confirmation? We're sending form data to a third party (via gform_after_submission) and the third party handles the redirect.
is it possible to completely disable the redirect/confirmation? We're sending form data to a third party (via gform_after_submission) and the third party handles the redirect.
This should do the trick for you:
add_filter("gform_confirmation", "custom_confirmation", 10, 4);
function custom_confirmation($confirmation, $form, $lead, $ajax){
return "";
}
Thanks. That's exactly where I went with it. Didn't work for me but could be because of something else. I'll confirm everything else first.
Yep, that works. It was the other thing. Thanks.
Right on, glad to help.