Redirect after CSV download

gr grantdigital 12 Sep, 2019
Hi
Is possible to get the page to redirect after the download of the CSV?
​
I have a form to select a date range for CSV export and after the download dialog box appears it the page is just sitting ther with the spinning icon.
Gr GreyHead 12 Sep, 2019
Hi grantdigital,
​
Normally ChronoForms loses control after a File Download is run. The workaround I usually use is to show a 'Thank You' message with a download link in it.
​
Bob
he healyhatman 12 Sep, 2019
Put the download action in a separate event, and display a link to that event. Also, put some custom JS on your "thankyou" page with
​
jQuery(document).ready(function() { window.location("{url:event_name}"); });
This topic is locked and no more replies can be posted.