Can't get form to log data or send email

PVMA 21 Jul, 2025

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!

Private Attachment is only visible to Author & Moderators
Max_admin 22 Jul, 2025
Answer

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:

Can't get form to log data or send email  image 1

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
PVMA 22 Jul, 2025

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."

Max_admin 23 Jul, 2025

Does that PDF file get created ? can you find it under that path ?

How do you have the TCPDF setup ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.