I’ve searched the wiki and the forums but can’t find information on how to use the attachments feature of eform. In the eform documentation there is an example of how to attach and validate various text files such as .doc .pdf .rtf etc, but how would one validate for images, zip files and other attachment types?
Any pointers in the right direction would be much appreciated!
Uploaded files are simply attached to the email. To support other file types edit the validation rules ,..
<input type="file" name="attachment" eform="Attachment:file:0:Images Only :#LIST jpg,gif,png" />
<input type="file" name="attachment" eform="Attachment:file:0:Zipped files Only :#LIST rar,zip,gz2" />