If I do nothing, using {registrant_data.phone_number}, then the report outputs 'null' in the phone column for those individuals without phone numbers and the correct phone number for those who do have phone numbers.
If I use the expression
Code: Select all
{(registrant_data.phone_number == null) ? '' : registrant_data.phone_number}
Code: Select all
{IFF((registrant_data.phone_number == null),'',registrant_data.phone_number)}
I also have another situation where I need to check registrants against a guardian name. If they are the same, meaning they have no guardian, then it should display nothing. If they are different, meaning they have a guardian, it should display the guardian name. However, the following expression does not work:
Code: Select all
{IFF((registrant_data.primary_name == registrant_data.participant_name),'',registrant_data.primary_name)}
Also, I am sending the report data via XML