How to make a form that downloads the contents of the form in WordPress Contact Form 7


WordPress form creation plugin Contact Form 7 is very convenient.

The other day, using this plug-in, I needed to create a form that would download the file when I sent the contents of the form.


In the form creation screen of Contact Form 7, you can write the following code in "Other settings".

 on_sent_ok: "location='/path/to/filename';" 

It is a code that uses the "on_sent_ok" event and uses "location" to download the file when the transmission is successful.


It's not very clean, but it's easy.
Depending on the application, this is enough code.

e? I didn't back up my website! ?

He / she will recover even in case of emergency
"WordPress external backup service"

■ Three features
・ You don't have to do it yourself
・ With recovery in case of emergency
・ Backup to external server