{# Keep track of the outer group field #} {% set repeaterField = field %} {% if value %}
{% for row in value %} {% if not loop.first %} {% endif %} {% for field in field.getFields() %} {# Update the namespace for the field, to include the specific block index #} {% do field.setParentField(repeaterField, loop.parent.loop.index0) %} {% set fieldValue = submission.getFieldValue(field.fieldKey) ?? field.normalizeValue(field.getDefaultValue(), null) %} {% set html = field.getEmailHtml(submission, notification, fieldValue) %} {% if html %} {% endif %} {% endfor %} {% endfor %}
 
{{- 'Row #{row}' | t('formie', { row: loop.index }) -}}
{% if field.hasLabel %} {{ field.label | t('formie') }} {% endif %} {{ html | raw }}
{% endif %}