{table_block}
{columns}
{if is_first_row}
{value}
{if:elseif is_last_row}
{value}
{if:else}
{value}
{/if}
{/columns}
{/table_block}
John Derrick
Jan 26, 2022
The example above stripped out the HTML… see my screenshot please for the code example I’m using.
John Derrick
Jan 26, 2022
Simple Grid does the same thing, it strips the ‘tr’ and ‘td’ and doesn’t place the ‘table’ tag.
John Derrick
Jan 26, 2022
Ah, I have to actually include the ‘table’ tag to make it output those elements. That makes sense because it means you can use the field for other purposes beyond tables, etc. That’s perfect because that’s exactly what I need it for (something outside a table that repeats). Thank you for this! Makes Bloqs even more powerful.
BoldMinded (Brian)
Jan 26, 2022
Glad you figured it out 😊