A table is a spreadsheet-like “container” for text, lookup, numeric and calculation question types. Tables can have up to 10 columns. The number of rows can be specified when building the form, or it can be specified by the mobile user when filling out a form. In all cases, the maximum number of rows must be specified. Tables are similar to Grids except that in a Table the contents of each row are repeated (the columns differ). Whereas, the contents of cells in a grid can be completely random.
To set up the table in your form, simply drag and drop the “Table” container widget into the desired location in the question canvas as illustrated below. Then drag and drop up to 10 text, lookup, numeric and calculation questions into the table. Each of these questions will be a column in the Table.
When rendered on the tablet mobile device in Form View, the table will look like this:
The Table container has several special properties:
Table label - Caption text for the table container. The maximum number of characters is 500, including spaces.
Data name - Represents the name of the data that will be displayed in column headings. This property is automatically filled in based on the Caption Text, but may be modified in the properties area. We recommend one or two word data names to keep column headings short. The maximum number of characters is 30. Spaces are not permitted in the Data Name field.
Max number rows - Specifies the number of rows in the table.
Variable number of rows - Use if you wish to display a variable number of rows (up to the max number of rows).
Number of rows value source - If variable number of rows is selected, this property specifies which widget will contain the value for the number of rows to be displayed.
All rows must be answered - If variable number of rows is selected, this property specifies that all the rows must be answered.
Display row number - If variable number of rows is selected, select this property if you wish to have a row number added in the first column of the table.
Use checklist - Use this option if the first question in the Table is a Lookup and you wish to display all the rows in a checklist format. Be sure the "Number Rows" value above equals or exceeds the number of rows in the Lookup table. When rendered on the tablet mobile device in Form View, the “checklist” table will look like this:
Hide rows - This option is used in conjunction with the “Use Checklist” option. Use this option to hide rows that contain a specified alpha-numeric value. When checked, an entry box will be displayed where you can enter an alpha-numeric “hide_flag” or leave blank if you want a blank/null value to be the hide_flag.
Jump over checklist column in Question View - This option is used in conjunction with the “Use Checklist” option. Selecting this option results in jumping over the checklist column when navigating in Question View using the navigation arrows.
Equally space columns - Specifies if columns will be evenly spaced (if checked) or variable width (if unchecked). The width of variable width columns will be determined by the length of their Caption Text property.
Fit to screen width - Check if you wish to fit all the columns inside the width of the screen. In certain cases this will not be possible and this setting will be ignored.
Advanced - Clicking on the Advanced arrow will reveal “Relevance conditions” properties that can be used of further control the behavior of your form using sophisticated logical statements. Please refer to http://support.doforms.com/hc/en-us/articles/200446034-Using-Relevance-Skip-Logic for more information on these properties.