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|[email protected]" "General|[email protected]" "Partnership|[email protected]"]</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)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Condtitional Email Value’ is closed to new replies.