Forums

Submit + Redirect not working in CF v5

Cannondale 12 Jul, 2020
[file=13161]cf-1.png[/file]
Attempt #1:
Added a Redirect event (with a url in Redirect URL field) at the bottom of the submit stack under TCPDF.
Result: no redirect

Attempt #2:
Added a Custom code event at the bottom of the submit stack under TCPDF. php code in the the Custom code event was:

<?php
unset($form->data);
header("Refresh:0; url=schnauzerloverescue.net");
?>
Result: no redirect

Attempt #3:
Added a Debugger event at the bottom of the submit stack.
Result: no debugger displayed post submit

I tapped out! Can someone point me in the right direction? Shouldn't be this hard!
GreyHead 13 Jul, 2020
HI Cannondale,

Please see this FAQ - particularly the line "Note that if you have the View set to anything other than Save to Server this must be the last action as it takes over control of the process from ChronoForms so CF can't do anything else." And if you ReDirect before the TCPDF action then that will not be run so save to the Server then ReDirect.

Bob
This topic is locked and no more replies can be posted.