Formbuilder attachment [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

Formbuilder attachment [SOLVED]

Post 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
uniqu3

Re: Formbuilder attachment

Post 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.
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

Re: Formbuilder attachment

Post 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...
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Re: Formbuilder attachment

Post by scotch33 »

Did you get anywhere with this? I am experiencing exactly the same issue.
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

Re: Formbuilder attachment

Post 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.
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Re: Formbuilder attachment [SOLVED]

Post by scotch33 »

ok - great! That makes sense. The only other thing is how to suppress the error message?
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: Formbuilder attachment [SOLVED]

Post 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
Attachments
error.jpg
Magal Hezi
Pixel Solutions, Technology Partners
magal@pixelsolutions.biz | pixelsolutions.biz

Image
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: Formbuilder attachment [SOLVED]

Post 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
Magal Hezi
Pixel Solutions, Technology Partners
magal@pixelsolutions.biz | pixelsolutions.biz

Image
Post Reply

Return to “Modules/Add-Ons”