Planning Your FormsBefore you start creating complex forms for your web pages, you should do some planning that will save you time and trouble in the long run. First, decide what information you need to collect. That might sound obvious, but you need to think about this before you start worrying about the mechanics of creating the form.
Next, review this information and match each item with a type of form control. Ask yourself which type of control is most suited to the type of questions you're asking. If you need a yes or no answer, radio
You also need to coordinate with the person writing the CGI script to match
Finally, you might want to consider validating form input through scripting. Using JavaScript, you can embed small programs in your web pages. One common use for JavaScript is writing programs that verify a
|
Summary
As you can see, the wonderful world of forms is full of different types of form controls for your
Be cautious, however. Web surfers who are constantly bombarded with forms are likely to get
Table 10.1 summarizes the HTML tags used today. Remember these points and you can't go wrong: Table 10.1. Today's HTML Tags
|