Adding the HTML form
Form objects like checkboxes and radio buttons are customarily displayed in an HTML form.
An HTML form lets users enter the data that will be added to the database table. In this example no data is submitted to the database, so the form tags are not absolutely necessary. However, it is good practice to keep your form objects within an HTML form.
To add an HTML form to a results page:
1 |
If you have not already done so, create a results page by choosing File > New and titling the file. |
2 |
Add an HTML form by placing the insertion point where you want the form to appear and choosing Insert > Form. |
|
An empty form is created on the page. You may need to turn on Invisible Elements (View > Visual Aids > Invisible Elements) to see the form's boundaries, which are represented by thin red lines. |
3 |
Name the HTML form by clicking the <form> tag at the bottom of the Document window to select the form, opening the Property inspector (Window > Properties), and entering a name in the Form Name box. |
4 |
Lay out your page using the Dreamweaver design tools. |
|
To insert checkboxes, place the insertion point where you want the checkbox to appear, and choose Insert > Form Object > Check Box. It is good practice to insert the checkbox within the form outline. |
|
To insert radio buttons, place the insertion point where you want the radio button to appear, and choose Insert > Form Object > Radio Button. It is good practice to insert the radio button within the form outline. |
|
For more information on inserting checkboxes and radio buttons, see "Inserting checkboxes and radio buttons" in Chapter 20 of Using Dreamweaver or in Dreamweaver Help (Help > Using Dreamweaver). |
|
|
|