1. Home
  2. Computing & Technology
  3. Web Design / HTML

Create a Mailto Form in Macromedia Dreamweaver MX

By , About.com Guide

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:
  1. First create the form.
  2. Switch to the Forms tab on the Insert bar, and click on the Form icon (first on the left).
  3. Set the form properties.
  4. Click on the Form box, and in the properties menu, type the following:
    action: mailto:emailaddress
    method: GET
    Enctype: text/plain
  5. Add the form fields.
  6. Choose the fields you want from the Form tab on the Insert bar.
  7. Be sure to include a submit button. Click the button icon (third from the right), and make sure the action is "Submit form".
  8. Save the file.
  9. Upload it to your Web server and test it.
Tips:
  1. It's very important to set the encoding type to "text/plain" otherwise you'll get strange results.
  2. 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
Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML Editors and Software
  5. HTML Editors
  6. Dreamweaver
  7. Dreamweaver How Tos
  8. Create a Mailto Form in Macromedia Dreamweaver MX>

©2009 About.com, a part of The New York Times Company.

All rights reserved.