• HI!
    First of all, congratulations for your work and the Contact Form 7 plugin. It’s great.

    I’ve a question after have searching into the forum and finding nothing:

    It’s possible hide the empty fields in the HTML email that i’receive when somebody fill and send a form?

    Best regards.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Setting up mail

    You can do so by selecting Exclude lines with blank mail-tags from output.

    Hi Takayuki, thanks for your priceless work.

    If a number field (placeholder 0) is set by the user to a specific number (e.g. 2), than (before submitting form) it is put back to 0 corrisponding line will appear in the email even if “Exclude lines with blank mail-tags from output” is selected in mail setup. It’s obviously correct (because the field is not empty anymore as in the initial state waiting for an input, but is 0).

    Would it be possible to exclude from mail lines with value=0 [num] tags?
    Regards Angelo

    • This reply was modified 4 years, 10 months ago by webenergysas.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide empty fields in Email’ is closed to new replies.