Fieldsets can be used to group related form elements on long forms using a label called a legend. This can make it easier for people with cognitive disabilities to understand the form by splitting it into more manageable sections.

To add a fieldset to a form in Dreamweaver:

  1. Select the form elements you want to enclose within the fieldset.
  2. Select Insert, Form, Fieldset.
    Form, Fieldset selected in Dreamweaver Insert menu.
  3. Enter the text for the fieldset’s legend in the popup window and choose OK. This is a label that will appear at the top of the fieldset.
    Legend text box in Fieldset window.

To preview your form in a web browser, choose File, Preview in Browser. You will notice the form elements within the fieldset will be surrounded by a thin border and the legend will appear at the top of the fieldset.

Fieldset will appear with a border around it by default.

You can use Cascading Style Sheets (CSS) to change the appearance of the border and perform other styling.

Bookmark and Share