I'm looping through the rows of a table field and hoping to target a specific field entry based on the loop.index
. Here's a simplified example of what that might look like:
{% for row in entry.table %}
{% set foo = entry.field ~ loop.index %}
{% endfor %}
The doesn't work, but I’m curious if I just have the syntax wrong or if I’m thinking about this the wrong way.