• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 15. Filling Out Forms

Chapter 15. Filling Out Forms

You fill out forms routinely when you apply for a driver's license or pay taxes or change addresses. Forms are getting to be more and more routine on the Web, too.

You'll want your visitors to fill out forms because it's the most efficient way for them to give you feedback about your site or about their identities (Figure 15.1), or just log in (Figure 15.2).

Figure 15.1. This feedback form includes most of the different kinds of fields that you can have in a form. I laid out the form using tables.

Figure 15.2. Not all forms have to be complicated, though. Some have only a few fields.

Online shopping sites, visitor surveys, and guestbooks use forms to collect data (called input) from your users. This data is then sent to a form handler—usually a CGI script, although other custom scripts can be used—which does something with this data. In some cases, such as surveys, the script simply saves the input for the site management to look at later. In other cases, such as search engines, the script takes the input and immediately uses it to provide some response or results for the user's edification. Typically, some form of interaction—even a simple thank-you page—assures the user that the information wasn't sent into a vacuum.

Dreamweaver simplifies the process of creating forms for your site. In this chapter, you'll learn the basics of how to create and name form objects such as checkboxes, radio buttons, drop-down menus, and text fields.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint