Forums

Chronoforms v5 File Download

beykeysr 11 May, 2017
I'm guessing I'm making a simple mistake, but would appreciate a push in the right direction. I've added a file download action to my form, but it's showing an error as if the link is not working. The link is valid when I put it in the browser:

https://www.garrettsmovinginc.com/images/pdf/GMS_Moving_Guide_Offer.pdf

Here's the screen shot of what I see on the form setup tab:

https://www.screencast.com/t/d5OwutVV8

The action is pretty simple, and I just pasted it in:

https://www.screencast.com/t/BlccCWeGPe

Can you offer some guidance?
Max_admin 11 May, 2017
Hi beykeysr,

The file download action needs an absolute server path to the file, which means that you can not provide a link like you have.

Another point, it should be the last action, no other actions will run after it, and no output will be displayed to the user, so just redirect the user to an event with the download action only, the browser will not redirect, but it will show the download dialog.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 12 May, 2017
Answer
Hi beykeysr,

I don't think that the form is submitting at all - the form action URL is
/become-a-moving-pro-with-our-free-ebook?chronoform=eBook_Request&event=submit
and that appears to just re-load the form.

Please see this FAQ

I'd also suggest that rather than use the automatic download you add a download link to the pdf in the Thank You message.

Bob
beykeysr 12 May, 2017
I went with your second suggestion and added a download link to the Thank You page.

After a couple rounds of testing, cache clearing, and browser refreshing, I finally have the form and process working as desired. Thanks for your direction.
This topic is locked and no more replies can be posted.