Support » Plugin: Contact Form 7 » Conditional Logic in Emails

  • Is there any way to conditionally display segments of an email template depending on whether or not a certain field is populated?

    I have a form with many optional fields. I need to output certain information in the emails that are sent depending on which of these fields is populated when the form is submitted.

    So for example, some functionality along the lines of this:

    if([my-field]) {

    // Some additional text
    My Field: [my-field]


    • This topic was modified 4 years, 7 months ago by Josh88.
  • The topic ‘Conditional Logic in Emails’ is closed to new replies.