How to Trigger File Download After Form Submission in Fluent Forms?
Hi everyone,
Iβm working with Fluent Forms and I have multiple assets (like files/resources) that I want to share with users. The idea is:
- A user fills in their email
- After they submit, the file (asset) starts downloading automatically
Basically, I want to make the email a required step before the download.
Is there a built-in way to handle this in Fluent Forms, or do I need to set up some custom action/redirect for the file download?
Any guidance, examples, or best practices would be really appreciated.
Thanks in advance!
You can do this in two way.
-
As we did here - fluentforms.com
when someone want to download the free version they enter the email, we tell them to check their email, in the email when the user click double optin, it automatically starts the download.
-
Or you can skip the double optin and start the download after they give the email,click submit button.
Check the screenshot, you can put the download link "to a custom URL" option, so download will occur automatically.
You can also show a download button in your form confirmation message where you can link the download file. As we do in our Form Template area - https://fluentforms.com/forms/patient-medical-history-form/#templateDownload
Nishat ShahriyarΒ Thank you
Nishat ShahriyarΒ Great! This is very helpful information. Thank you for sharing.
Nishat ShahriyarΒ one question, is it possible to do this dynamic? I have multiple resources/files.
Kamal HosenΒ You can use Fluent Forms "Conditional Confirmation Settings" feature for that.
Read this blog - https://fluentforms.com/how-to-setup-conditional-confirmation-messages-in-wordpress-contact-forms/
https://fluentforms.com/show-different-confirmation-messages-to-different-users/