close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Forms - File attachment

Thread began 5/06/2013 2:52 pm by rob294118 | Last modified 5/07/2013 12:01 pm by Jason Byrnes | 416 views | 15 replies |

rob294118

Forms - File attachment

I created a form with 3 file attachment fields but they are not showing up in my email. What am I missing?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the form file and the webassist/email folder so i can see the code.

Sign in to reply to this post

rob294118

Here you go.

Thanks.

Attached Files
becomeamodel.php
waue_becomeamodel_1.php
Sign in to reply to this post

Jason ByrnesWebAssist

in the waue_becomeamodel_1.php page, you have not added any attachments


go to the attachments section of the Universal Email behavior and add the files fields as attachments.

Sign in to reply to this post

rob294118

The "photo" fields are file attachments.

Sign in to reply to this post

Jason ByrnesWebAssist

They are file file fields in the form, but you have not configured the attachments section of universal email to uyse them to attach the files to the email.

in the in the waue_becomeamodel_1.php page you sent the Attachment Entries section is empty.

you need to edit the universal email server behavior.

click the paper clip icon to manage email attachments.

Sign in to reply to this post

rob294118

I did this but it still doesn't work. I attached the new files.

Attached Files
becomeamodel.php
waue_becomeamodel_1.php
Sign in to reply to this post

Jason ByrnesWebAssist

1) You have only 1 file upload behavior, if you are going to save the files to the server, you need an upload behavior for each file field.

2) In the attachments section, you have bound to the file field form elements, instead, you need to use the server file name and server file directory bindings created by the upload behavior.

on the bindings panel, there will be a binding group for each upload behavior named:
"WA Uploaded Files (<file field name>)"

for each attachment, select the Server file directory binding from that binding group, then copy the binding code and select the Server file name binding. Paste the server file directory code in front of the server file name code.

NOTE: if you don't need to save the files to the server, you can use the submitted file option instead, but this only works if you don't have the file upload behaviors

Sign in to reply to this post

rob294118

Current Files

I don't need to save the files to the server. It's for people to be able to email a file. I'm not sure what to do.

Attached Files
becomeamodel.php
waue_becomeamodel_1.php
Sign in to reply to this post

Jason ByrnesWebAssist

So don't include the upload file server behaviors in the page, you will need to delete the one that is already applied.

in the attachments section, select the submitted file option and select the file field.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...