Tables
Tables have a different tagging format to the standard tags. This is because the template needs to be able to iterate through the lines of data and produce table rows.
To start a table use:
{%tr for item in tableName %}
Each cell in the table needs to be populated with the field name.
{{ item.fieldName }}
To end a table you must include:
{%tr endfor %}
Split Tables
Split tables are the same as normal tables except you can set the data to be split into separate tables based on a unique value.
This can be achieved using the _SPLIT suffix on the first field.
{ "tableName": [ { "tableTag_SPLIT": "Reception", "tableTag1": "<redtext>Office<redtext>", "tableTag2": "Desk" } ]}This will directly copy the existing table for each unique value and add a new header row to the top, to include the split value. All table header formatting will be maintained.