How to Create a "Mailto" Form in Dreamweaver

Format
mla apa chicago
Your Citation
Kyrnin, Jennifer. "How to Create a "Mailto" Form in Dreamweaver." ThoughtCo, Aug. 23, 2017, thoughtco.com/mailto-form-in-dreamweaver-3464277. Kyrnin, Jennifer. (2017, August 23). How to Create a "Mailto" Form in Dreamweaver. Retrieved from https://www.thoughtco.com/mailto-form-in-dreamweaver-3464277 Kyrnin, Jennifer. "How to Create a "Mailto" Form in Dreamweaver." ThoughtCo. https://www.thoughtco.com/mailto-form-in-dreamweaver-3464277 (accessed October 17, 2017).
Adobe Dreamweaver CS6
Adobe Dreamweaver CS6. Image courtesy Adobe

"Mailto" forms collect information entered by your website visitors. The data is then emailed to an address you designate. "Mailto" forms let site visitors contact a company representative, register for an event, pay a bill, respond to a survey, join a mailing list and perform other communication-oriented tasks online.

A "mailto" form is one of the simplest forms to create in Dreamweaver and should take you, at most, about 30 minutes.

Compatibility

This tutorial works in the following versions of Adobe Dreamweaver:

  • Dreamweaver CS6
  • Dreamweaver CS5
  • Dreamweaver CS4
  • Dreamweaver CS3
  • Dreamweaver 8
  • Dreamweaver MX 2004
  • Dreamweaver MX

Create Your "Mailto" Form

  1. Switch to the Forms tab on the Insert bar, and click on Forms. You'll now see a dropdown list of form elements you can add.
  2. To set the form properties, click on the Form box. In the Properties menu, enter the following:
    Action: mailto:thetargetemailaddress@something.com
    Method: GET
    Enctype: text/plain
  3. Choose the fields you want from the Form tab on the Insert bar.
  4. To add the submit button, click the Button icon and set the action to Submit Form.
  5. Save the file.
  6. Upload the file to your web server and test it.

Tips

  • Setting the encoding type to text/plain is crucial; otherwise, you’ll get strange results.
  • Remember that the proper functioning of "mailto" forms depends upon the web browsers, email clients and operating systems your site visitors use. They don’t always work. Test with a variety of combinations whenever possible.