CGBetter forms file attachments
Posted: Mon Oct 07, 2019 8:34 pm
Hi All,
Has anyone used CGBetterForms with file attachment in the form, as i just can not get this to work and need some advice
so used this in the template ...
<div class="form__item">
<label for="cv" class="form__label">Upload your CV</label>
<input type="file" id="cv" name="cv" value="{$form_data->cv}" data-cgbf-accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/vnd.apple.pages,application/x-iwork-pages-sffpages">
</div>
But what should go in the form handler to make it send the file with the email?
Kind Regards
Paul
Has anyone used CGBetterForms with file attachment in the form, as i just can not get this to work and need some advice
so used this in the template ...
<div class="form__item">
<label for="cv" class="form__label">Upload your CV</label>
<input type="file" id="cv" name="cv" value="{$form_data->cv}" data-cgbf-accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/vnd.apple.pages,application/x-iwork-pages-sffpages">
</div>
But what should go in the form handler to make it send the file with the email?
Kind Regards
Paul