How do I handle this? I created a family registration form in Wordpress. When the form is submitted an email-notice is sent to me. The email is html and contains a table. Each row contains several fields pertaining to a family member such as first name, last name and so on. The question is how do I hide the table rows that contain empty data in the email.
The form can hold up to 10 family members and in the webpage I hide all the fields except for the first family member. Then at the end of the first member I ask if they would like to enter another family member. If they say yes the next family member questions becomes visible. This keeps the web form from becoming overwhelming. But the email-notice shows all the members including empty member table rows.
How do I clean up the email?