My app includes an order form for a food delivery service. Once someone adds an item to their order, an DB item of type Orders is created (has the person’s name, the food item, etc). A Repeating Group (Customer’s Order) shows these items. Within each cell is a Repeating Group (add-ons) whose data source is a list of add-on items that can be added to the food item in the RG Customer’s Order’s cell; each cell in the add-on RG contains a checkbox for each add-on.
My issue is that I cannot figure out how to make the checkbox add an add-on item to the order in the Custs’ Order RG cell.
I would ideally want to add a workflow that would, once a checkbox is checked, adds the checkbox’s parent’s group’s item (an add-on) to the checkbox’s grandparent’s current cell (an Order, the cell is the one in which the add-on RG resides).
To explain this is a representation of the setup:
RG: Customer’s Order
|Food item, picture, etc for food item #1
|RG: Add-on
||Add-on #1 checkbox
||Add-on #2 checkbox
|Food item, picture, etc for fod item #2
|RG: Add-on
||Add-on #1 checkbox
||Add-on #2 checkbox