Buy Now
Sign in

Problem adding file uploads to email

omcreations1 , February 08 at 09:23
O
omcreations1
Hello and greetings.
After lots of trial and error, I finally have my form uploading files from my form. In the email of the form it shows the file name of the file. However, in the email the files are not being attached, even though I have "Attach to Email" selected in the "File field", and in Setup I have Auto Attach file fields selected in Email on the submit action.
Am I missing something?
admin
Hello omcreations,
Try to call the files manually in the email attachments box:
{var:upload_action_name.file_field_name.path}
Best regards
Max
If your main question got answered then please mark the answer using the button!​

Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
O
omcreations1
I'll give that a try. But I was curious. The form i am building is a multi page form. File uploads on multi page forms wasn't covered anywhere, and i discovered that i had to have file upload on setup on the next page from where the upload was. Meaning if there was an upload on page 1, then in setup i had to have the file upload action on page 2.
The process of attaching files to the email wouldn't be any different because it's a multi page form, would it?
admin
Well, the multi page action stores the form data only in session and passes that between pages, files data are not stored and you may need to use a "Save to session" action to store them then retrieve the info when the email is triggered, UNLESS the email action is on the same event of the "Upload" action, in this case you should not worry about saving the files data to session.
Best regards
Max
If your main question got answered then please mark the answer using the button!​

Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!