Enabling Cells in a Table

How to enable a cell in a table

You can control how cells in a table behave—making them editable, required, or read-only—based on cell conditions. This procedure describes how to enable a cell.

Let's say you have a dynamic table on a form for tracking support calls. This dynamic table contains the date of the call, the call type, call description and depending on the call type, an email or phone number. The following procedure provides the steps to make a table cell enabled based on this example:

  1. On the form, from the Actions/Containers menu, click Dynamic Table.
  2. The dynamic table is added to the form. Next to the Column 1 Label, click , then Insert Column. Insert additional columns so the dynamic table has a total of 5 columns.
  3. Click on the dynamic table input. In the Label field, enter Support Log.
  4. Back in the Form Designer, enter Date of Call in the Column 1 Label field and select Date/Time Stamp as the field type.
  5. Enter Call Type in the Column 2 Label field and select Radio as the field type. Click 
    (Edit) for this radio type then expand Input Options.
  6. Click to open the Options window. Enter Email, Phone and Other as the options, then click OK.
  7. Enter Email Address in the Column 3 Label field and select Text as the field type. 
  8. Enter Phone Number in the Column 4 Label field and select Text as the field type.
  9. Enter Call Description in the Column 5 Label field and select Long Text as the field type.
  10. Save your changes to the form.
  11. Now let's make the Email Address cell of the dynamic table enabled when the call type is Email. Click (Edit) for this text field type and expand Cell Condition.
  12. From the Type field, select Enabling Cell. Click to open the Condition window.
  13. Click + to add the rule. Select Support_Log_Call_Type as the Field and is equal to as the Operator, Value as the Value Type, then Email as the Value.
  14. Click OK to close the Condition window.
  15. Now let's make the Phone Number cell of the dynamic table enabled when the call type is Phone. Click (Edit) for this text field type and expand Cell Condition.
  16. From the Type field, select Enabling Cell. Click to open the Condition window.
  17. Click + to add the rule. Select Support_Log_Call_Type as the Field and is equal to as the Operator, Value as the Value Type, then Phone as the Value.
  18. Click OK to close the Condition window.
  19.  Save the form.
  20. Now on the device, when a user selects a call type (in this example, Phone) the other call type's supporting field will be disabled (in this example, Email Address field).