Read-Only Cells in a Table

How to make a table cell read-only

Cells in a table can be enabled, required, or read-only based on the rules of a condition. This procedure explains how to make a cell in a table read-only. Read-only cells mean that they are not editable, but data still defaults into the field. Let's use a dynamic table to make a cell read-only. In this example, we are going to display the next scheduled date for an inspection.

  1. On the form, from the Actions/Container menu on the right side of the Forms Designer, drag Dynamic Table onto the form.
  2. The dynamic table is added to the form. Next to the Column 1 Label, click , then Insert Column. The table has two columns.
  3. Click  (Edit) to open the Edit Dynamic Table window. In the Label field, enter Inspection, then click OK.
  4. Back in the Form Designer, enter Inspection Date in the Column 1 Label field and select Date as the field type.
  5. Enter Next Inspection Date in the Column 2 Label field and select Date as the field type. 
  6. Click (Edit) for the Date field type to open the Edit Date window. Toggle the Use Default Value option on and mark the Calculate Default Date option.
  7. Select Inspection_Inspection_Date as the Starting Date, mark Add, then enter User_Defined Value as the Value type and enter 365 as the user-defined value.
  8. Click the Cell Condition tab. 
  9. From the Conditional applies to field, select Read-Only. Then add the conditional rule by clicking +. Select Inspection_Inspection_Date as the Field and is equal to as the Operator, Pre-Defined Value as the value then Submit Date as the Date Value.
  10. Click OK to close the Edit Date window.
  11. Click  to save the form.
  12. Now on the device, when a user enters an inspection date, the schedule new inspection date is calculated and displays as read-only.