Insert table in a form with dynamic choice component columns?

I think to achieve what you want on the front end, you should use a custom form.

In your helper table, create a column to hold a user-specific “unique ID” column.

On entry to the custom form screen, you would have a combo action like this:

If unique ID is empty, set a unique ID value to the column, and then show the details screen for the custom form.

If unique ID is not empty, then show the details screen only.

On the form screen, you would have a collection action/form button to allow users to add rows to an “Order Rows” table: Category / Brand / Model / Quantity

Once the user wants to submit the order, you would write the Unique ID above to an “Order” table: Order Unique ID / Timestamp etc

and then clear the unique ID to prepare for the next order.

1 Like