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 MX. Follow these simple steps and you'll have a Dreamweaver mailto form in no time at all.
Difficulty: Average
Time Required: 30 minutes
Here's How:
- 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:
action: mailto:emailaddress
method: GET
Enctype: text/plain - 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.
Tips:
- It's very important to set the encoding type to "text/plain" otherwise 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.
What You Need:
- Macromedia Dreamweaver MX

