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
}
?>
<?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
}
?>