ADD a diferent email attachment based on CONDICIONAL selected option value

[ad_1]

Hello everyone.

Im creating a form with contact form 7 with multistep and condicional fields ( plugin name = ultimate-addons-for-contact-form-7) and on step 2 i have two dropdowns where i make the condicional field “product A” show if a previous option is selected (in this case “product family A”)
Ex:

[select* productfamily class:inputcontacto “” “A” “B” “C”] [conditional productfamilyA] [select* prod-A “” “A” “B” “C”] [/conditional] [conditional productfamilyB] [select* prod-B “” “A” “B” “C”] [/conditional] [conditional productfamilyC]

[select* prod-C “” “A” “B” “C”] [/conditional]

I need to add a attachment to the email that contact form sent in this form based on the choice that user selected (for example – if client choose “Product A” of the “Product Family A“) i want to send a .zip file to him, but if he choose other “Product %” of the “Product Family %”) i want to send a different .zip. Every product has his own .zip file to be sent to the client based on is dropdown choise.

Is there any code for that to help me? if soo, can anyone help me adding to the contact form 7?

Best regards to all

  • This topic was modified 13 hours, 4 minutes ago by futuroteste18. Reason: To show the select code to all

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer