Page 1 of 1
Formbuilder attachment [SOLVED]
Posted: Tue Apr 03, 2012 9:37 am
by SIMONdesign.nl
I have Formbuilder installed 0.7.2.
There's an upload field in the form and the results are send to an email account (duh) but the file that's been uploaded should be an attachment not uploaded to the server. Is this possible?
*edit* perhaps some more information: all I see is the filename. I cannot download the file from the email. It's not attached and there is no working link to the file on the server...
Regards,
Simon
Re: Formbuilder attachment
Posted: Tue Apr 03, 2012 2:23 pm
by uniqu3
In advanced tab of "Uplaod file" field there is a checkbox "Deny file to be attached with emails", it is checked by default.
Re: Formbuilder attachment
Posted: Tue Apr 03, 2012 2:41 pm
by SIMONdesign.nl
Thank you for the fast reply!
I tried unchecking this checkbox before posting this question (and it's still unchecked). It doesn't help...
One other thing: I get an error "Could not access file: [PATH]"
But it displays a wrong path. Strangely enough the file is uploaded to the correct folder...
Re: Formbuilder attachment
Posted: Thu Apr 19, 2012 6:43 am
by scotch33
Did you get anywhere with this? I am experiencing exactly the same issue.
Re: Formbuilder attachment
Posted: Tue May 15, 2012 10:02 am
by SIMONdesign.nl
Hi, sorry for the slow reply. I changed the emailtemplate like this:
{if $fld_39 != "" && $fld_39 != "[unspecified]" }<strong>Enclosed file</strong>: <a href="
http://yourdomain.com/uploads/{$fld_39}">Click to download {$fld_39} </a><br />{/if}
This results in a correct hyperlink to the file that can be downloaded.
Re: Formbuilder attachment [SOLVED]
Posted: Wed Jun 13, 2012 5:57 pm
by scotch33
ok - great! That makes sense. The only other thing is how to suppress the error message?
Re: Formbuilder attachment [SOLVED]
Posted: Sat Jul 14, 2012 1:07 pm
by magallo
hey guys, did anyone find out how to suppress the error message?
I'm also trying to figure out how to solve the root_path error i'm getting. This client is hosting with ipage and they setup permission to 750 on root folder (non changable, ofcourse!)
My orignal intention was simply to use formbuilder to email a couple of pictures together with some other form data. Since i was getting the root_path error (X) (see what happens in the picture, the file name gets mixed up with the root path), i decided to simply upload the files to a folder and then email the links to download.
I was able to do that but i can't get rid of that "Could not access file..." error.
apriciate the help,
Magal
Re: Formbuilder attachment [SOLVED]
Posted: Sun Jul 15, 2012 9:10 am
by magallo
scotch33 wrote:ok - great! That makes sense. The only other thing is how to suppress the error message?
see this:
http://forum.cmsmadesimple.org/viewtopi ... =7&t=61965