Currently we have a setup where someone fills out a form and then is directed to a thank you page where they press a cta to download the file. I want to create a way so that when the person submits the form and the thank you page loads, the file automatically starts to download without them pressing the cta button on that page. I just want that cta button to exist there as a backup in case the file download does not automatically start.
Does anyone know a way to accomplish this automatic download process? I know I have seen it on other sites that I have used.
Can't say we'd ever recommend FORCING PDF download. Especially on an increasingly mobile-centric web where doing so could turn off mobile visitors. In either case, here's a couple posts about how to make it happen. One using .js and the other using PHP.
Can't say we'd ever recommend FORCING PDF download. Especially on an increasingly mobile-centric web where doing so could turn off mobile visitors. In either case, here's a couple posts about how to make it happen. One using .js and the other using PHP.