I use email plugin to send the form results, and it's fine.
But i want to let the user to send or not the email using Confirmation Page. The email is in OnConfirm. The mail is sent but the fields are not interpreted. i receive {name}
instead TOTO.
what can i do ?
Hi jerhome64 ,
Please post a screenshot of the Events tab for your form. I think this should work OK.
Bob
Hi,
When it is ok :
[attachment=0]email_ok.PNG[/attachment]
When it is KO :
[attachment=1]email_ko.PNG[/attachment]
Sincerely
Jerome
Hi jerhome64,
I think that the problem is that the page is re-loaded in between. Please try adding a 'Data to Session' action before the Confirmation Page action and a 'Session to Data' action before the Email action. That should re-load the form data for the email.
Bob
Hello,
i have tested, no change !
[attachment=0]email_ko_session.PNG[/attachment]
Sincerely
Jerome
I added the data sessiona before and in the form. This don't change anything . What can i do ?
Hi jerhome64 ,
Temporarily add a Debugger action or two so that you can see what data is available at the critical points.
Bob