OK Guys..
I have one problem please fix it if you can,
I have one form with some 6 checkboxes.. each has its associated pdf file. The User can check as many box and then he puts his email address now after submit the form i want to send him an email with the attachement what he just has choosen by checking the checkboxes.
for eg.
checkbox1 "I am checkbox 1 and my associated pdf file is sendme1.pdf"
checkbox2 "I am checkbox 2 and my associated pdf file is sendme2.pdf"
checkbox3 "I am checkbox 3 and my associated pdf file is sendme3.pdf"
so on...
Now if one user suppose checked 1 and 3 then the email which he will get has two attachements sendme1.pdf and sendme3.pdf
Hope you have understood.
please give me response asap
Thanks a lot.
I have one problem please fix it if you can,
I have one form with some 6 checkboxes.. each has its associated pdf file. The User can check as many box and then he puts his email address now after submit the form i want to send him an email with the attachement what he just has choosen by checking the checkboxes.
for eg.
checkbox1 "I am checkbox 1 and my associated pdf file is sendme1.pdf"
checkbox2 "I am checkbox 2 and my associated pdf file is sendme2.pdf"
checkbox3 "I am checkbox 3 and my associated pdf file is sendme3.pdf"
so on...
Now if one user suppose checked 1 and 3 then the email which he will get has two attachements sendme1.pdf and sendme3.pdf
Hope you have understood.
please give me response asap
Thanks a lot.
Hi webydesig,
A very similar question was asked and answered a few weeks ago, please check the forums for that thread.
Bob
A very similar question was asked and answered a few weeks ago, please check the forums for that thread.
Bob
Bob,
I have checked that post i think you are talking about $attachements['fields_name']="root path for the files"
I have tried but my badluck
some tricky thing i was doing and i am able to send the click here link to download but its note coming as attachment..
Can you please help me
Thanks
I have checked that post i think you are talking about $attachements['fields_name']="root path for the files"
I have tried but my badluck
some tricky thing i was doing and i am able to send the click here link to download but its note coming as attachment..
Can you please help me
Thanks
Bob,
I got your response on the thread
<?php
$form_id = $MyForm->formrow->id;
$MyUploads =& CFUploads::getInstance($form_id);
$MyUploads->attachments[] = 'files/vendorlist.pdf';
?>
But i am using ChronoForms V3.1 RC3. In this version & CFUploads is not working..
You have anything for this version. I dont want to mess around my all forms and do upgrade and all..
Please help
Thanks
I got your response on the thread
<?php
$form_id = $MyForm->formrow->id;
$MyUploads =& CFUploads::getInstance($form_id);
$MyUploads->attachments[] = 'files/vendorlist.pdf';
?>
But i am using ChronoForms V3.1 RC3. In this version & CFUploads is not working..
You have anything for this version. I dont want to mess around my all forms and do upgrade and all..
Please help
Thanks
Hi webydesig,
I'm sorry, I simply don't remember how the old code worked. If you dig far enough back into the forums you should find some examples. Try searching on 'attachments'.
Bob
I'm sorry, I simply don't remember how the old code worked. If you dig far enough back into the forums you should find some examples. Try searching on 'attachments'.
Bob
This topic is locked and no more replies can be posted.
