Good morning,
I am attaching what I did but unfortunately I can not make sure that if the email is already present does not save the data and does not download the file while if the email is not present save the data and download the file.
Before downloading the file in any case and save the email, I must add the check that if there is already the email does not download the file and exit the message "Email already present."
How do I solve?
I am attaching what I did but unfortunately I can not make sure that if the email is already present does not save the data and does not download the file while if the email is not present save the data and download the file.
Before downloading the file in any case and save the email, I must add the check that if there is already the email does not download the file and exit the message "Email already present."
How do I solve?

Hi Giada992 ,
Your Read Data action should be checking if the email is found. What settings do you have for that action.
Adding a Debugger action temporarily will help you see what data is being submitted and how it is being treated. You will need to remove the ReDirect action (or put a Stopper action before it ) to see this output in case of 'success'.
Bob
Your Read Data action should be checking if the email is found. What settings do you have for that action.
Adding a Debugger action temporarily will help you see what data is being submitted and how it is being treated. You will need to remove the ReDirect action (or put a Stopper action before it ) to see this output in case of 'success'.
Bob
Hi, Thank you for answering me so fast.
then I tried to follow the guide of icagenda.it, but I do not find all the settings that are in the guide.
Can you explain how to do it?
then I tried to follow the guide of icagenda.it, but I do not find all the settings that are in the guide.
Can you explain how to do it?

Hi Giada992,
That is code for CFv5 - for CFv6 pleas check page 21 of the CFv6 manual - it will be something like Data42.email:{data:email} (and no <?php ?> tags}
Bob
That is code for CFv5 - for CFv6 pleas check page 21 of the CFv6 manual - it will be something like Data42.email:{data:email} (and no <?php ?> tags}
Bob
when the email is not present it saves the data and downloads the file but remains the loading wheel that runs as I do to send it back to the home?
Hi Giada992 ,
If you have the TCPDF action set to automatically download the file then ChronoForms looses control at that point so the Actions after the TCPDF action are not run.
I suggest that instead you save the TCPDF file to the server and then show a 'Thank You' page including a download link for the file. That way you keep control of the acton flow.
Bob
If you have the TCPDF action set to automatically download the file then ChronoForms looses control at that point so the Actions after the TCPDF action are not run.
I suggest that instead you save the TCPDF file to the server and then show a 'Thank You' page including a download link for the file. That way you keep control of the acton flow.
Bob
in fact I can do both as you say and send an email with attachment? how can I do?
This topic is locked and no more replies can be posted.