Hi!
I use the action 'HTML to PDF' to generate a pdf document. I want to attach this pdf in an email.
In the action 'HTML to PDF' the 'View --> Save to Server'.
I'm following the tutorial 'How can I create a PDF including form results', but it does not work. Does not create a link in the template of Email action and neither attach a pdf.
Can anyone help me?
Thanks.
My configuration is:
In the HTML to PDF action, the field 'File name in Data/Files array' with value: cf_pdf_file
In the Email action, the field 'Attachments fields name' with value: cf_pdf_file
Attach an images.
It does not work.
resolved!!
In the HTML to PDF acton I changed the Mode to Controller.
I'm sorry, not resolved.
I have the form configured this way (image).
If the HTML to PDF action is configured to Controller, the generated pdf document is empty, but $form->['cf_pdf_file']['link'] is not empty.
If the HTML to PDF action is configured to View, the generated pdf docuemtn is not empty, but $form->['cf_pdf_file']['link'] is empty, therefore the send email hasn't any attach file and de link not work.
I want is generate a pdf document and send it through an email.
thanks!!
Hi davidvicky,
What exactly have you done?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
hi,
I had to migrate my forms to the V5 of chronoforms,
now it works
thanks.