Auto Download PDF in Thank you page

Contact Form 7 Redirect

I have other post that Contact Form 7 can will be redirected into a Thank you page. Which you can check here.

What will we need to achieve today is when after the Contact form 7 redirect into thank you page it will download a pdf or any file you want.

Here you go. First download if you are using WordPress use Easy Lightbox plugin or Fancybox 3. Activate the plugin in plugins section. Make sure you have Contact Form 7 too.





Additional Header for Contact form 7

use the code below to redirect your form into a thank you page. If your form don’t have captcha this code will work.