Thread Starter
noxerr
(@noxerr)
The thank you box appears empty without any text inside, however, in the “inline message” tab I have text
Thread Starter
noxerr
(@noxerr)
Hi @noxerr
I hope you are doing well.
I checked the issue and I was able to replicate the problem on the thank you message, I see it appends only an empty div.
We are going to report it to the plugin developer.
Additionally, is there any way to just download a file when pressing submit, hide form and show thank you message?
Can you try this solution?
Add this script https://gist.github.com/patrickfreitasdev/0a0385610fac53e36d3e4b4b22fe5c03
You can use it as a mu-plugin
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
On that script edit line 40 adding the URL to your file
https://gist.github.com/patrickfreitasdev/0a0385610fac53e36d3e4b4b22fe5c03#file-submit-handler-php-L40
To force the download the file must be on your domain if it is hosted anywhere else by default the browser opens it on a new page.
I also added a custom redirect option so lines 41, 42 & 47 allow you to control the URL, time and to enable the redirect just remove the comment // before of redirect() in line 47
On Forminator form set it to the inline message as the redirect or file download is now controlled on JavaScript.
Let us know the result you got.
Best Regards
Patrick Freitas
Thread Starter
noxerr
(@noxerr)
Thanks Patrick,
The workaround I used was to use the JQuery version of forminator:success as a Javascript inline script, and left it as inline, but this is just a workaround, I’d actually hope for a proper fix.
Thanks for such a great free plugin,
Regards,