Hi Max,
is it possible to download the content of a database table with the download action?
Is there an example ?
Regards, JoCo
Hi Max,
is it possible to download the content of a database table with the download action?
Is there an example ?
Regards, JoCo
Hi JoCo
if the table is large then it may not work because PHP will timeout or the memory will be exceeded, but you can add this to your ChronoForms8 page submit:
Thank you Max for the quick answer.
The download is running correctly and the file is my local download directory.
But after the download action the form keeps busy. The busy icon keeps spinning.
The action is not ended. How come?
Regards JoCo
Hi JoCo
This is expected. this is how the download works in browsers, if you want to change this then you need to add a link to the form page with the CSV action, that page should have a different "Page Group", this way the page can be called through a link:
form-url&chronopage=page-name
when you do this the file will download but the form will not be loading
You may also "Redirect" to that page at the submit of your current page, this will have the same effect
Sorry Max, I don't quite get it.
first I don't know how a form-url looks like.
second I have a form with a read data action and a csv action on the submit tab. Is that correct?
Where should I put the link?
Regards JoCo
Hello Max,
don't bother anymore, I've got it.
I placed the read data and the csv on the load tab and call the form with a menu-link.
Regards JoCo
Hi JoCo
Great, sorry for the late reply
So when you have the Read Data and CSV in a different form page, you call the form using the same form link you have now and add &chronopage=page-alias to that link