Exclude unfilled (empty) fields from mail notifications and PDFs

I think it is essential to have the option of only outputting only those fields in mail notifications and PDFs that have actually been filled in. Otherwise, notification mails and PDFs contain numerous empty lines. This gets very confusing, especially when a form contains many optional fields.

WPForms, for example, hides empty fields in notifications by default: Using the wpforms_email_display_empty_fields filter

Some other WP Forms plugins do the same or even provide conditional mege tags so that you can hide an HTML table row, for example, if an associated optional field was not filled in and therefore has no value.

I think this is an essential feature because it significantly improves notification emails and PDFs. As far as I know, this is currently not possible with Bitform, which is a significant disadvantage compared to other form plugins.

Thank you for bringing this issue to our attention! We completely understand how frustrating it can be to see empty fields cluttering notification emails and PDFs, especially when dealing with forms that have many optional fields.

We’re pleased to let you know that we’re already planning to introduce a smart tag for {bf_all_entry} that prints all form entries. Based on your valuable feedback, we now recognize the importance of enhancing this feature to exclude fields with empty values.

To address this, we’ll also include a filter hook that allows users to dynamically skip empty fields when generating emails or PDFs. This enhancement will make notifications much cleaner and improve overall usability.

Thank you again for sharing your insight—it’s feedback like this that helps us refine Bit Form and better serve our community!

1 Like

That sounds wonderful! Thank you very much! You’re the best!