Hello,
I use &gotoid parameter to display a document after sending the form. On this doc, I would like to display the [+email+] value.
I tried to add [+email+] in the content, but it’s not displayed.
Thus, I try to set a cookie with &eFormOnBeforeMailSent in order to display it.. but the cookie is not set.
Please, don’t laugh (

), totally noob in PHP, here is my &eFormOnBeforeMailSent snippet
<?php
function passeEmailAuGotoid( &$fields){
global $modx;
setcookie(decoinMailNewsletter,$fields['email']);
return true;
}
?>
Am I on the right way... or totally lost ?
Any chance to do that easily ? Thank you