To add a check box column to a data table:
You can use a Data Column Modifier builder to insert a new column in the data table. In the Data Column Modifier, use the Add Columns input to add a new column.
Then use a Data Field Modifier builder to alter the new field and present it as a check box. In the Data Field Modifier, change the Field Behavior input to Data Entry and change the Control Type field to Check Box.
This will result in a new field being added to the data variable for each row of data. This is the desired effect for a check box - each row can have its own independent value for the check box.
To add a radio button column to a data table:
The process is similar, but there is one important difference. Usually, when a radio button column is added to a table, the desired effect is to keep only a single value (single selected row) for the entire table. This is a bit different than the check box behavior.
Again, we can use a Data Column Modifier builder to insert a new column in the data table. In the Data Column Modifier, use the Add Columns input to add a new column.
Then add a Variable builder to contain the value for the selected row of the table.
Use a Radio Button builder to place a radio button in the new field. The Value input for the Radio Button builder should use the LoopVar variable for the table and point to a column in the data that provides a unique ID for the row.
The Selected Value input for the Radio Button builder should point to the Variable created by the Variable builder described above.
An Action List should be created to handle the form submission. This Action List needs to assign the value of the selected radio button from the form inputs into the variable that contains the selected row.
The attached models provide a sample for each case.