Dynamic Tables let you collect repeating sets of structured information in a User Form. In the builder, add a Dynamic Table, configure its columns and input types, and set a response table ID. You can also let respondents add or remove rows. The regular Table field remains available for display-only tables.
For example, a table with the ID reviewers could be written in HTML like this:
<table id="reviewers" data-collect="rows" data-repeatable="rows">
<thead>
<tr>
<th>First Name</th>
<th>Role</th>
<th>Active</th>
</tr>
</thead>
<tbody>
<tr>
<td><input id="reviewerName" name="reviewerName" type="text"></td>
<td>
<select id="reviewerRole" name="reviewerRole">
<option value="reviewer">Reviewer</option>
<option value="approver">Approver</option>
</select>
</td>
<td><input id="reviewerActive" name="reviewerActive" type="checkbox" value="yes"></td>
</tr>
</tbody>
</table>
If a respondent submits two rows, the form response could look like this:
{
"reviewers": [
{ "First Name": "John", "Role": "reviewer", "Active": ["yes"] },
{ "First Name": "Ari", "Role": "approver", "Active": [] }
]
}
The table ID becomes the response key, and each row is an object keyed by the column headings. Other form fields remain top-level values in the response.
For hand-written HTML, use data-collect="rows" and a unique table ID to collect rows. Add data-repeatable="rows" to let respondents change the row count. Tables need one header row with unique, non-empty headings and matching body cells; merged cells aren't supported.
See the Create a form guide for setup details and an example.