Forums

Hide Repeater Loop in Email

ucwd 23 Apr, 2020
I have been able to hide a group of information from my form that is normal data using CUSTOM CODE.

<?php
if ( !empty($this->data['s_firstname']) ) {
?>
<strong>SPOUSE<strong><br>
Name: {data:s_firstname} {data:s_lastname}<br>
Birthday: {data:s_birthday}<br>
Cell: {data:s_cell}<br>
Email: {data:s_email1}<br>
<hr>
<?php
}

I have tried to use the same concept to hide email data from email if it is a repeater/loop and it is NOT working. CAn someone help?

Repeater area: MODEL: Child
this is loop15: Loop body
Child's Name: {var:loop15.row.child_name} <br>
Birthday: {var:loop15.row.c_birthdate} <br>
Grade: {var:loop15.row.c_grade} <br><br>

<?php
if ( !empty($this->data['Child']) ) {
?>
<strong>CHILDREN:</strong> <br>
{var:loop15}
<?php
}
?>
ucwd 23 Apr, 2020
I apologize. This is the in the WRONG Tag and I can not find where to edit or delete. It should be in Chronoform v6
This topic is locked and no more replies can be posted.