Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Usability

Dreamweaver MX 2004 Form Objects for Feedback

  • Print
  • + Share This
Danilo Celic, member of Team Macromedia and author of Dreamweaver MX 2004 Magic, shows you how to use Dreamweaver's form objects to gather the data you need from site visitors.
Like this article? We recommend

Like this article? We recommend

What do your site visitors have to say? Dreamweaver expert and CommunityMX.com master Danilo Celic will help you find out. Simply follow his instructions and add a few form objects to your contact.cfm page.

One of the most common requests that clients have is to place a contact form on their site and have the entries of that form sent to an email address, frequently to their sales or customer service email address, so that someone within the company can respond to the visitor that filled out the form. Adding such functionality to a site is a breeze with Dreamweaver's form objects.

The form fields that you need depend upon the information you want to gather. For this article, imagine that you are working for a video rental store, DWMagic Video Rentals. You need to gather the customer's name, email address, preferred video media, favorite genres, preferred movie ratings, and a catch-all comments field for additional information the customer is willing to share.

Add a Contact Form

The first step is to place a contact form into contact.cfm, then set the form's attributes so that it will be connected to the form processing page.

  1. Open, or make active, contact.cfm.

  2. Click the Form button on the Forms category of the Insert bar to insert a blank <form> to start working with.

  3. Figure 1Figure 1 Use the Insert bar Forms category to insert form elements into your documents.


  4. In the Property inspector for the form tag, click the Folder icon next to the Action field and select thankyou.cfm.

  5. The other attributes available on the form's Property inspector can be left at their default state, as they do not need to be changed for the processing script to work its magic.

  • + Share This
  • 🔖 Save To Your Account