Hi to all.
I'm trying to attach static files (files are saved on my server file system) to a ChronoForms v4 email action.
I have a form with some checkbox fields. Depending on these checkboxes selection, the form has to attach one or more files to the email action.
These files are not uploaded by the form but already saved on the file system.
I know that using the "standard" Email action I can send only form uploaded files.
Using CFv4 Email [GH] action instead I can also attach static files. My point is that I don't kwnow which files attach because it depends on user checkbox selection.
How can I set up the Email[GH] or Email "File Attachments" field after getting the checkboxes selection?
Can anyone help me?
Thanks in advance.
I'm trying to attach static files (files are saved on my server file system) to a ChronoForms v4 email action.
I have a form with some checkbox fields. Depending on these checkboxes selection, the form has to attach one or more files to the email action.
These files are not uploaded by the form but already saved on the file system.
I know that using the "standard" Email action I can send only form uploaded files.
Using CFv4 Email [GH] action instead I can also attach static files. My point is that I don't kwnow which files attach because it depends on user checkbox selection.
How can I set up the Email[GH] or Email "File Attachments" field after getting the checkboxes selection?
Can anyone help me?
Thanks in advance.
Hi,
Please check this:
http://www.chronoengine.com/faqs/2643-how-to-send-an-email-dynamically.html
You will need to do something similar and inject the files names using PHP code based on yoru checkboxes.
Regards,
Max
Please check this:
http://www.chronoengine.com/faqs/2643-how-to-send-an-email-dynamically.html
You will need to do something similar and inject the files names using PHP code based on yoru checkboxes.
Regards,
Max
Hi Max,
thanks for the tip, it works fine.
Regards,
L
thanks for the tip, it works fine.
Regards,
L
This topic is locked and no more replies can be posted.