Insert a layout table InfoPath 2007
Author: mety Labels:: Insert a layout table InfoPath 2007You can use layout tables to design a more organized, professional-looking form template. A layout table is a framework that includes rows and columns for organizing and arranging the form template's content, including controls, sections (section: A control on a form that contains other controls.) of a form template, and logos or other pictures. In the following example, a layout table is used to organize text boxes inside a section on a form template. This layout table has two rows. There are three columns in the second row. The center column is used only for spacing purposes. The borders of a layout table appear as dashed gridlines in design mode. When users fill out a form that is based on your form template, these gridlines are not visible. Tip To hide the gridlines in design mode, click Hide Gridlines on the Table menu. In the Layout task pane, you will find a collection of predesigned layout tables. You can insert these tables onto your form template and modify them to suit your needs. For example, you can click Three-Column Table to quickly insert an empty table with one row and three columns into your form template. If you want to add an extra row to that table, click in a table cell on the form template, and then click Add Table Row in the Layout task pane. If you prefer to create your own layout table, you can insert a custom layout table that has a specific number of rows and columns. Alternatively, you can draw a custom layout table, which can be helpful if you want to create a more complex design. For example, you can create a layout table that contains cells of different heights or a varying number of columns per row. Insert a predefined layout table
Insert a custom layout table with specific dimensions
Draw a custom layout table
Automatically format the controls inside a layout tableYou can use the Controls task pane or the Data Source task pane to insert controls on your form template. If you use the Data Source task pane to insert controls, you can use a shortcut that allows you to instantly insert controls and their corresponding labels inside a layout table in a section. This shortcut works best when you are designing a form template that is based on a database, Web service, or other external data source, and you want to insert a nonrepeating group from the data source. Controls such as sections and optional sections (optional section: A control on a form that contains other controls and that usually does not appear by default. Users can insert and remove optional sections when filling out the form.) are bound to nonrepeating groups. The following picture shows an employee group selected in the Data Source task pane, and the Controls in Layout Table command being chosen on the shortcut menu. When you click the arrow next to the employee group, a menu offers options for inserting controls. To insert controls inside a layout table, click Controls in Layout Table on the menu. Each field (field: An element or attribute in the data source that can contain data. If the field is an element, it can contain attribute fields. Fields store the data that is entered into controls.) in the employee group is now neatly represented by a control and corresponding label on the form template. The control labels are derived from field or group names in the data source.
|