Download page Inserting Fields in a Template as a Table.
Inserting Fields in a Template as a Table
You can insert fields as a table in your template. The inserted table is added as a repeat table. When the template with a repeat table is used to generate a contract, the header row of the repeat table with the inserted fields takes the values of the preceding rows.
Open a template in X-Author for Contracts.
In the Worktab, click Fields.
Put the cursor in the template text where you will insert a field and click Insert Field. This opens the Insert Fields dialog box.
Select an Object (for example, "Agreement") from the left column.
To search a field related to the selected object in the right column, enter a keyword and click the Search button or press Enter.
On Mac: Hold the command key and select one or more fields from the list. On Windows: Hold the Ctrl key and select the fields.
Fields are inserted as columns in the table in the order you select. Do not move your cursor while the fields are being inserted.
Click the Insert as a table radio button.
Click Insert. A Repeat table is inserted into your template with each field displayed as a separate column.
To insert a new column in the Repeat table:
Place the cursor in the column beside which you need a new column.
Right-click > Insert > click Insert Column to the Left or Insert Column to the Right based on your need. A new column is added.
Place the cursor on the new column field and click Insert Fields.
This opens the Insert Fields dialog box. The Object (i.e., "Agreement") is selected by default. The object value is available based on the repeat table's object settings.
Search and select the required fields from the right column and click Insert. The new field in the new column is now inserted.
To search inserted fields:
The Fields tab displays the Repeat Table (object name) and the fields in the repeat table.
Enter the field name in the search field and click the Search button ().
To make an inserted field smart or read-only:
Click the Settings icon () adjacent to the selected field name to open the Properties page.
In the attributes list, toggle the Smart Field or Read-Only Field switches as required and click Save.
To show or hide captions for a generated table:
Click the Settings icon () adjacent to the Repeat Table.
In the Table Attributes section, toggle the Show Caption switch on and click Save.
To select table formatting when no data is present:
Under the Table Attributes, click the Format drop-down menu. Select one of the following options.
To show table captions and one empty row, select Show captions and one empty row.
To show captions only and no rows, select Show captions only.
To remove the entire table from the generated document, select Remove whole table.