Video:How to Create a Mailto Form in Dreamweaverwith Herman Mak
Mailto forms are essential to any web site that intends on working with customers or wants to stay in contact with the web site's visitors. Watch this About.com video to learn how to create a mailto form using Dreamweaver.See Transcript
Transcript:How to Create a Mailto Form in Dreamweaver
Hi, I’m Herman Mak for About.com, and today I’m going to show you how to make a mailto form in Dreamweaver.
What is a Mailto Form
A mailto form will allow you to create a form with different elements such as checkbox, text fields, drop-down menu or even a text area or other things that the user or visitor of your webpage can click or fill in then send it all to a specific email address. But before we go any further, I must have to warn you that mailto forms doesn't always work which it all depends on the browser and if the user have a e-mail client program setup or not.
Steps for Creating a Mailto Form in Dreamweaver
To create a mailto form is easy, please follow me along.
Open Dreamweaver, click HTML under "create new"
Click "insert"-> "form" and click on "form" to create your form field with a red dotted line box on the page.
Here on the properties tab, you will now set the ACTION to "mailto:email@example.com" and for the method, use "GET", for the enctype put in "text/plain."
Now you can insert anything you like in the form box such as a text field, a text area box, maybe a radio button, drop down menu, and so on.
Don't forget to include a submit button as well by clicking on "insert" -> "form" -> "button" and make sure the button's properties say "submit form" in order for it to work.
Now you can click save and save the file, upload it to your FTP server and it should now be able to work.
Proper Scripts for Mailto Forms
One thing to know is that mailto forms are sometimes very frustrating because people can fill in all the forms with lots of effort but end up the form doesn't send or doesn't work. It can just be popping out a blank page on the e-mail client as well. In order to solve this problem, you must use CGI or PHP script forms which you can download online or write your own script as well.
Thanks for watching. To learn more about Dreamweaver, please visit About.com.