Title: Condtitional Email Value
Last modified: October 24, 2019

---

# Condtitional Email Value

 *  Resolved [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/condtitional-email-value/)
 * Hi there,
 * **I have contact form 7 as below:**
 *     ```
       <div class="event_contact">
       <div class="group-form">[text* your-name placeholder "Your Name"]</div>
       <div class="group-form">[email* your-email placeholder "Your Email"]</div>
       <div class="group-form">[tel* your-tel placeholder "Your Mobile Number"]</div>
       <span style="color: #adb0ba;">Inquiry Type</span>
       <div style="class="wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required">[select* InquiryType include_blank "Support|mn4des@gmail.com" "General|mn4des@gmail.com" "Partnership|magedmoh94@gmail.com"]</div>
   
       [group support]
   
       <div class="group-form">[text* event-name placeholder "Event Name"]</div>
       <div class="group-form">[text* order-id placeholder "#Order ID"]</div>
       <span style="color: #adb0ba;">Payment Method</span>
       <div style="class="wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required">[select* PaymentMethod include_blank "Fawry" "Visa/Mastercard"]</div>
   
       [/group]
   
       <div class="group-form">[text* your-subject placeholder "Your Subject"]</div>
       <div class="group-form">[textarea* your-message placeholder "Your Message"]</div>
       <div class="submit">[submit "SEND MESSAGE"]</div>
       </div>
       ```
   
 * **And the mail as below:**
 *     ```
       From: [your-name] 
       Email: [your-email]
       Mobile Number: [your-tel]
   
       Data related to Support Inquiry:
       Event Name: [event-name]
       Order ID: [order-id]
       Payment Method: [PaymentMethod]
   
       Subject: [your-subject]
   
       Message Body:
       [your-message]
   
       --
       This e-mail conversation is managed by the contact form system.
       ```
   
 * I want that part in the email below to be sent only if the selected drowndown
   is support and if its anything else like general to be hidden not be sent.
 *     ```
       Data related to Support Inquiry:
       Event Name: [event-name]
       Order ID: [order-id]
       Payment Method: [PaymentMethod]
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/condtitional-email-value/#post-12061174)
 * I have tried to follow this tutorial but couldn’t find a solution
    [https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/](https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/)
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/condtitional-email-value/#post-12063089)
 *     ```
       [support]
         [event-name]<br>
         [order-id]<br>
         [PaymentMethod]<br>
       [/support]
       ```
   
 * Should work like this.
 * This might also help: [https://bdwm.be/cf7-tools/cf7-to-mail-body.php](https://bdwm.be/cf7-tools/cf7-to-mail-body.php)
 *  Thread Starter [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/condtitional-email-value/#post-12063535)
 * Hi,
 * Worked great thank you so much

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Condtitional Email Value’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/condtitional-email-value/#post-12063535)
 * Status: resolved