[thelist] How do I include Attachments on a Form?
Simon Perry
thelist at si-designs.co.uk
Tue May 4 05:12:47 CDT 2004
Sylvia Braunstein wrote:
>Hi all,
>
>Using Dreamweaver 4.0, I created for our website a feedback form to get
>information from customers.
>To allow them to attach files, I used the File Field (with the Browse
>button).
>
>When testing the form, pretty much everything is working as it is supposed
>to.
>
>However, the mail that is forwarded to me does not include the files that
>are supposed to be attached. The only thing that appears is a path as
>simple, which is virtually useless.
>
>Can anyone please tell me how I set up my form so that attachments can
>actually be included in the mail.
>
>Thank you very much,
>
>
>
Sylvia,
You will need to add enctype="multipart/form-data" to your form tag.
Simon
<form action="your-script.xxx" name="form-name" method="post"
enctype="multipart/form-data">
More information about the thelist
mailing list