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

Chapter 11. Forms > Organizing the Form Elements

Organizing the Form Elements

If you have a lot of information to fill out on a form, you can group related elements together to make the form easier to follow. The easier it is for your visitors to understand the form, the more likely they are to fill it out correctly.

To organize the form elements:

1.
Below the FORM tag but above any form elements that you wish to have contained in the first group, type < FIELDSET>.

2.
Type < LEGEND.

3.
If desired, type ALIGN=direction where direction is top, bottom, left, or right.

4.
Type >.

5.
Type the text for the legend.

6.
Type </LEGEND> to complete the legend.

7.
Create the form elements that should belong in the first group. For more information, see pages 196-210.

8.
Type </FIELDSET> to complete the first group of form elements.

9.
Repeat steps 1-8 for each group of form elements.

Tip

You don't have to create a legend. To omit it, skip steps 2-6. In fact, you don't have to organize your form into groups at all. While it is a useful tool, it's completely optional.

Tip

At press time, only Internet Explorer for Windows recognized field set definitions. And it only aligns legends to the left or right.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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