Writing (simple) form data to CSV

Write form data with multiple file uploads to a CSV file in ChronoForms.

Overview

The user needed to save simple form submissions, including handling multiple uploaded files whose names should be pipe-separated in the CSV, but was unsure how to configure the actions.
In CF v6, configure the form actions to process and save the data, specifying the desired fields and using custom code to format the uploaded file names. For v7, a specific action is available but requires a patch file from the developer.

jo joachimliedtke 20 Nov, 2020
It is a simple form (not database involved) and the entered values should be saved into a comma separated CSV file. I read so many posts until now, but I am getting a bit desperate, because I don't get what I have to write where. What it makes a little bit more complicated: Several file uploads are allowed and when there are several files the names should be written into the CSV separated with a pipe.
​
As a sidenote: Try to search for the term csv here on the forum and you get nothing. And can we expect a proper documentation for idiots like me or is Chronoforms only meant for professionals? 😟
​
Sorry, obviously one of chronoform files were broken. So one question remains: I want not all the data from return [$this->data]; How can I specify the fields and the upload fields pipe separated?
​
TIA
Max_admin Max_admin 20 Nov, 2020
Answer
it's easier to setup in v7, but the action is not enabled by default, so I need to send you a patch file, please send me a message using the contact page and I will send you the file!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jo joachimliedtke 20 Nov, 2020
1 Likes
Thanks for your kind answer, but in the meantime - sorry - I got it working in v6 except for the fixed upload path. For this I added a comment in another thread.
Max_admin Max_admin 21 Nov, 2020
Ok!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.