- Introduction
- Understanding Forms
- Creating a Form
- Inserting Form Objects
- Modifying Text Fields and Text Areas
- Modifying Radio Buttons and Check Boxes
- Modifying Lists and Menus
- Modifying Buttons
- Inserting an Image Button
- Making Form Objects Dynamic
- Using Tables to Control Forms
- Validating Forms
- Creating and Editing a Jump Menu
- Viewing Example Code for Forms
Using Tables to Control Forms
When you create a table, it’s a simple matter to add form elements on a line-by-line basis. However, in many cases this simplistic method may not suit your particular form layout. In that case, it’s tables to the rescue. A smart form designer can use a table within the form (just like in standard design), to control the look and positioning of all the form elements. Once the table is inserted into the form, it’s a simple matter to use the individual table cells to insert the various elements (for more information on the creation of a table, turn to Chapter 8). The only requirement for the table is that it must be placed within the red dotted lines defining the form.
Control the Form with Tables
- Create a new document or open an existing page.
- Click to place the insertion point to where you want to insert a form.
- Insert the form using one of the following options:
- Click the Forms tab on the Insert panel, and then click the Form button.
Click the Insert menu, point to Form, and then click Form.
An empty form appears with a dotted red outline.
- Select the form.
- Click the Insert menu, click Table, select the table options that you want, and then click OK.
- Click into an individual cell.
- Click the Forms tab on the Insert panel, or click the Insert menu, point to Form, and then select from the available form objects.
The table cells control the placement and design of the form.