Forums

Can Chrono Forms post form results to a csv?

zhumar 28 Jul, 2011
Hi, the subject basically says it all. Is this possible or does it only send emails?
GreyHead 29 Jul, 2011
Hi zhumar,

I'm not sure what you want here? What's the purpose of a CSV file with a single record?

You could add code in a Custom Code box to add a new line to an existing CSV file. You can use my CSV Export action to export records from a database table to a CSV.

Bob
zhumar 29 Jul, 2011
It would be a universal csv file that would just update each time a form is submitted. So it would only update one line at a time, but it would keep a pretty organized record of all form submissions.

So are you saying there's no way to do this without some custom code on the form?

*EDIT*
Actually, what is the csv export action? Is there some documentation on how to use it?
GreyHead 29 Jul, 2011
Hi Zhumar,

Well, that's pretty well what happens with the Database saves except that it's a MySQL table and not a csv file. There isn't much demand for line by line updating of a CSV file but it's not hard to do. The CSV Export [GH] action is here.


Bob
zhumar 29 Jul, 2011
After looking at the export action, it looks like it is meant to pull an entire table and put it into a csv. I can play with it so it will only update an existing csv each time a new form submission is made?
GreyHead 30 Jul, 2011
Hi zhumar,

Yes, you probably could automate it; though it might be just as easy to hand-code the csv update.

Bob
This topic is locked and no more replies can be posted.