Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

How to email a PDF file based on checkbox selection in Contact Form 7?

$
0
0

Replies: 0

Hi,

I have 7 different pdf files stored on my server. I have a contact form 7 with checkbox allowing users to select the products they want. So, based on the selection(s) of this checkbox, I want to send PDF files to the user as an email.

For example, if a user only selects option1, he would be sent option1.pdf as attachment. But if a user selections option1 and option3, he would be sent two pdf files option1.pdf and option3.pdf.

How can this be achieved?


Viewing all articles
Browse latest Browse all 82367

Trending Articles