I inserted a file upload-element but don't really know how to set this up so it really sends an attachment.
Is there a tutorial?
HI martinneke,
Yes there is, please check the FAQs.
Bob
I already did but can't find anything about the file upload-button.
I've seen this FAQ but even then...
In Chronoforms it's that easy to create and edit a form just by drag and drop but including an attachment some code has to be added???
Well... since I don't have any idea what I'm doing I just added the custom code action before the Email action and changed all highlighted to bijlage. Still it doesn't send any attachment with by mail. (also changed the fieldname to bijlage and in the Email-Template I added {bijlage}.
I don't understand why and how it's possible to use a name for the attachment as I don't know what file a user is uploading. :?
Please can you provide the right code?
Hi martinneke,
You need to use the name of the file upload input from your form.
Bob
That name is bijlage so I changed all the highlighted code to bijlage. I even changed it in the email-template but no attachment is send.
Hi martinneke,
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hi martinneke,
In the File Upload | Files box you have jpg, that needs to be bijlage:jpg or perhaps bijlage:jpg-png
Please check if that solves the problem.
Bob
Almost... The Attachments fields name needed to be bijlage too.
Thanx Bob, it works great now!!!
Martin