Support

Account

Home Forums Front-end Issues checkbox fn('get_field') return as array Reply To: checkbox fn('get_field') return as array

  • thanks, I have resolved using

    <table class="field_table">
                    {% for field_name, field_value in fields if field_value is not empty %}
                       <td class="field_title"><strong>{{ field_name }}</strong></td>
    				   <td class="field_value">{{ field_value|join('\n')| nl2br }}</td>
                    {% endfor %}
                  </table>