This tutorial works in the following versions of Dreamweaver:
- Dreamweaver CS6
- Dreamweaver CS5
- Dreamweaver CS4
- Dreamweaver CS3
- Dreamweaver 8
- Dreamweaver MX 2004
- Dreamweaver MX
One of the simplest forms is the mailto form, where all the form data is sent, via email, to the recipient. It’s easy to create a mailto form in Dreamweaver. Follow these simple steps and you’ll have a Dreamweaver mailto form in no time at all.
Time Required: 30 minutes
- First create the form.
Switch to the Forms tab on the Insert bar, and click on the Form icon (first on the left).
- Set the form properties.
Click on the Form box, and in the properties menu, type the following:
- Add the form fields.
Choose the fields you want from the Form tab on the Insert bar.
- Be sure to include a submit button. Click the button icon (third from the right), and make sure the action is “Submit form.”
- Save the file.
- Upload it to your web server and test it.
- It’s very important to set the encoding type to
text/plainotherwise you’ll get strange results.
- Remember that mailto forms are dependant upon the web browser your customer uses, the email client, and the operating system. They don’t always work.