Forums

More than one repeater fields and text fields out of repeater send as csv

xados.tom@gmail.com 26 Jun, 2018
Hi forum,

i am new to chronoforms and i would like to ask you if there is any way to send a csv file with more than one repeater fields and text fields out of repeater and how can that be possible.

Thanks in advance
GreyHead 27 Jun, 2018
Hi xados.tom,

That can probably be done but may not be very useful.

What exactly do you need to do?

It is usually bad table design to include multiple repeater sets in the same record, it is better to use two tables and keep each repeater set in a separate row in the second table - linked to the first by a record id.

Bob
xados.tom@gmail.com 28 Jun, 2018
Thanks for your quick response.

I actually want the layout of the form to be some questions and 3 or more tables.
For the tablets i don't know how many rows each person will fill (and how to create them), so i came up with the idea of using a repeater field (for each table row).
My problem is that i don't know how to import all that information into a csv file.

Thanks again
GreyHead 28 Jun, 2018
Hi xados.tom,

The CSV Export action isn't designed to work for this so I suggest that you use a PHP action with custom PHP to do the export you need. (But do think through your data table structure carefully).

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