{# Keep track of the outer group field #}
{% set groupField = field %}

{% if value %}
    <div style="margin: 1em 0;">
        <table style="width: 100%; margin: 1em 0; border-collapse: collapse;">
            <tbody>
                {% for field in field.getFields() %}
                    {# Update the namespace for the field #}
                    {% do field.setParentField(groupField) %}

                    {% set fieldValue = submission.getFieldValue(field.fieldKey) ?? field.normalizeValue(field.getDe