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. 

  1. Open a template in X-Author for Contracts Advanced.
  2. In the Work tab, click Fields.
  3. Put the cursor in the template text where you will insert a field and click Insert Field. This opens the Insert Fields dialog box.
  4. Select an Object (for example, "Contract") from the left column. 
  5. To search a field related to the selected object in the right column, enter a keyword and click the Search button or press Enter.
  6. 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.

  7. Click the Insert as a table radio button.
  8. Click Insert. A Repeat table is inserted into your template with each field displayed as a separate column.
  9. To insert a new column in the Repeat table:
    1. Place the cursor in the column beside which you need a new column.
    2. Right-click > Insert > click Insert Column to the Left or Insert Column to the Right based on your need. A new column is added.
    3. Place the cursor on the new column field and click Insert Fields. 
    4. This opens the Insert Fields dialog box. The Object (i.e., "Contract") is selected by default. The object value is available based on the repeat table's object settings. 
    5. Search and select the required fields from the right column and click Insert. The new field in the new column is now inserted. 
  10. To search inserted fields:
    1. The Fields tab displays the Repeat Table (object name) and the fields in the repeat table.
    2. Enter the field name in the search field and click the Search button ().
  11. To make an inserted field smart or read-only:
    1. Click the Settings icon () adjacent to the selected field name to open the Properties page.
    2. In the attributes list, toggle the Smart Field or Read-Only Field switches as required and click Save.
  12. To show or hide captions for a generated table:


    1. In the Table Attributes section, toggle the Show Caption switch on and click Save.
  13. To select table formatting when no data is present:
    1. Under the Table Attributes, click the Format drop-down menu. Select one of the following options.
      1. To show table captions and one empty row, select Show captions and one empty row.
      2. To show captions only and no rows, select Show captions only.
      3. To remove the entire table from the generated document, select Remove whole table.
    2. Click Save.
  14. To sort repeat table line items:
    1. Click the sorting icon (two arrows) to the right of the Settings icon adjacent to the Repeat Table field. Applied sorting sections will display.
    2. Click the Settings icon ().
    3. Under the Sorting section, click the pencil icon to edit.
    4. In the sorting panel that displays, you can delete line items by clicking the trash icon, add new line items by clicking +Add, and Reset your selections by clicking Reset
    5. After your edits are complete, click Apply
    6. Click Save back in Repeat Table Settings. 
  15. To make columns and rows conditional, see Making Columns and Rows Conditional in a Table.