• Resolved harf4ng

    (@harf4ng)


    Hi,

    In contact forms 7, is it possible to send the email based on conditions? (I have the conditional fields extension but unsure this is related)

    Like, I would like in the email to write some text only if a field is not empty. Is it possible?

    Thanks

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

    (@takayukister)

    Maybe this technique will be useful for your purpose > Customizing mail-tag replacement

    Thread Starter harf4ng

    (@harf4ng)

    Thanks. But in fact I found an easier way to do that than coding. In my form I use empty groupes like that:
    [group genseigne_commerciale][/group]
    And then in my email I use conditions like that:
    [genseigne_commerciale]
    <p style=”margin: 5px 0″><strong>Enseigne Commerciale :</strong> [enseigne_commerciale]</p>
    [/genseigne_commerciale]

    And it works well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.