I'm trying to submit a form containing items from a users' cart, using A&M forms, but cannot seem to populate the table field with the items. I'm using the code below:
{% for item in cart.lineItems %}
<input type="hidden" name="fields[selections][{{loop.index}}][col1]" value="{{item.qty}} x {{item.description}}">
{% endfor %}
For some reason, though, it's creating the rows in the table, but not actually populating it with any content. Any idea what to do to get it to work?
Thanks!