I have a CSV download in a SUBMIT action. The file is fine, the download works (Chrome automatically downloads, which is fine).
But the browser never gets past a spinning wheel, or event to a message that says "Thanks!".
But the browser never gets past a spinning wheel, or event to a message that says "Thanks!".
This is fine, once the download starts it can not send any other output, so you should redirect to a thanks message page, then show a link "download here" and connect the link to a page with the download action.
Admin,
I tried to follow your suggestion. I'm new to Chronoforms. I would like to replace my Fabrik apps with Chronoforms since they are compatible with Joomla 4. I've read the version 6 documentation. Version 7 is quite different.
Here is what I did.
Page Group Type Sequential
Page 1: Start Page
Views
Header with some Text
Button Submit
Actions
Read Data from database view
Page 2: download_page
View
Head with some text
Actions
CSV Export
- Action: Save to Disk
Redirect to form.end_message
Page 3: end_message
Views
Header with some text
Actions
Download with same path as CSV Export
Message
-------
https://friendsofsilverbrook.org/j4test/component/chronoforms7/?chronoform=vets-download-copy-20221211-150852&gpage=end_message
This page isn’t working right now
friendsofsilverbrook.org redirected you too many times.
To fix this issue, try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
I tried to follow your suggestion. I'm new to Chronoforms. I would like to replace my Fabrik apps with Chronoforms since they are compatible with Joomla 4. I've read the version 6 documentation. Version 7 is quite different.
Here is what I did.
Page Group Type Sequential
Page 1: Start Page
Views
Header with some Text
Button Submit
Actions
Read Data from database view
Page 2: download_page
View
Head with some text
Actions
CSV Export
- Action: Save to Disk
Redirect to form.end_message
Page 3: end_message
Views
Header with some text
Actions
Download with same path as CSV Export
Message
-------
https://friendsofsilverbrook.org/j4test/component/chronoforms7/?chronoform=vets-download-copy-20221211-150852&gpage=end_message
This page isn’t working right now
friendsofsilverbrook.org redirected you too many times.
To fix this issue, try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
No, page 2 should have HTML with a link to page 3, you should not "redirect", the user must click a link pointing to page 3
You need to login to be able to post a reply.