Hi Folks,
I created a from to get user information which is then made into a PDF which they can print out. The PDF creating part is working great. But I can't get the form to log data or to send an email to the office.
I also can't figure out how to load the PDF in a new window (target="_blank").
I've added a backup of the form for you to please look at.
Thanks!
Hi PVMA
The PDF creation will terminate output and now later actions will be processed
Your Email action should go ABOVE the TCPDF action in order to do it before the output termination
You will also need to use the Log Data action, same way, above the TCPDF
Here is how it should look like:

HI Max,
I didn't know about the "log Data" action for some reason. So I got that working with your help.
But the email part is still not working. If I put it before the PDF creation, then I get this error:
"Oops!
Could not access file: /var/www/pvma-wp/data/www/deerfield-craft.org/images/PDF/20250722_152409.pdf
An error has occurred while processing your request."
Does that PDF file get created ? can you find it under that path ?
How do you have the TCPDF setup ?
