Allow users to send attachments via the contact form
Allow users to send attachments via Contact This Advertiser / Seller form
With DJ-Classifieds, you can easily allow users to send attachments to advert author. This can be useful, for example, when there's a job offer, and the candidate wants to provide his CV. There are many other ways to use this feature, but I think this example is best.
Setup
First, you need to setup DJ-Classifieds to allow sending the attachments and decide what file formats you will allow being sent.
Go to Components -> DJ-Classifieds -> Options and open the Views tab and scroll down to Advert View section.
Here you'll find 3 options you need to set to get this feature working:
- File in ask seller form - set it to "Yes."
- Ask seller form file - allowed types - type file formats you want to allow to be sent.
- Ask seller form file - max size - choose the max file size.
![dj-classifieds advert view section](/templates/yootheme/cache/54/fileinask-546bc196.png)
How it works
When all is set up, when the user uses the form to contact the advertiser, he'll be introduced with the option to attach a file.
This file, along with a message from the form, will be then sent by email to the advertiser.
![dj-classifieds contact form](/templates/yootheme/cache/35/sendcv-35e04481.png)