We do have a form with fields not necessary to fill in and they remain empty.
The feed back mail is in html for user and admin. But in this case it will generate blank/empty lines with no info at all. Is there a way to skip this in the output so there will be no empty lines in the mail.
See sample output and code with fields labels and data.
Code:
<tr style="text-align: left; font-family: tahoma, arial, helvetica, sans-serif; font-size: 10pt;">
<td>{1_Vorname:value}</td>
<td> </td>
<td>{1_Name:value}</td>
<td> </td>
<td>{1_Geburtsdatum:value}</td>
<td>{1_Passnummer:value}</td>
<td> </td>
</tr>
<tr style="text-align: left; font-family: tahoma, arial, helvetica, sans-serif; font-size: 10pt;">
<td>{2_Vorname:value}</td>
<td> </td>
<td>{2_Name:value}</td>
<td> </td>
<td>{2_Geburtsdatum:value}</td>
<td>{2_Passnummer:value}</td>
<td>{2_Kind_unter_16_Jahre:value}</td>
</tr>
<tr style="text-align: left; font-family: tahoma, arial, helvetica, sans-serif; font-size: 10pt;">
<td>{3_Vorname:value}</td>
<td> </td>
<td>{3_Name:value}</td>
<td> </td>
<td>{3_Geburtsdatum:value}</td>
<td>{3_Passnummer:value}</td>
<td>{3_Kind_unter_16_Jahre:value}</td>
</tr>
Output in mail:
see attachement
How to solve this that there are no empty lines in the mail?