Download CSV file according to the filtered date

joaoparao 23 Nov, 2020
Hi. I created a form that extracts data from a database with the ability to select data for the field content:
example date or author or date and author.
I created the export CSV function which, instead of exporting what is displayed, exports all the contents of the database.
Is it possible to export only what is displayed?
thanks a lot
Joao
Max_admin 23 Nov, 2020
Then create a data source which loads the same set of displayed records, or add selectors to the list, then when the user selects, get the ids and read them then export!

And you better start using v7 for this!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joaoparao 16 Dec, 2020
Thanks Max!
But CF v7 doesn't need CC? I only found CC v6
Joao
Max_admin 17 Dec, 2020
Answer
For this you can use v7 only, CF7 has a Connectivity mode already!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joaoparao 26 Feb, 2021
Hi Max, before starting to use CFv7 (it takes time to redo the module as it is still not possible to import from CF & CCv6 to CFv7) I should solve the problem of exporting selected lines to a CSV file. I followed the directions in the post https://www.chronoengine.com/forums/posts/t105142/export-selected-rows-to-csv but I can't export anything: it keeps giving me an empty file. Do you have any example?
Joao
You need to login to be able to post a reply.