conflict with Contact Form 7 – Repeatable Fields
-
When working in combination with the repeatable fields plugin (https://www.ads-software.com/plugins/cf7-repeatable-fields/) there is an issue with exporting.
If I have a field with a repeater, and the first submission has 6 instances of the repeated field, then I export, the export is fine.
If then, someone submits the form with only 3 instances of the repeated field, the export will only show 3 for both rows
If then a third submission occurs and there are 4 instances of the repeated field, all 3 rows will present with 4 columns for that dataSo in short, the export will only add to the csv file the number of repeated rows that the most recent submission has.
Assumed the loop when generating the csv will loop through the most recent, then build the other rows based on that, so it won’t know to look for the extra possible fields. Possible fix would be to create an array of arrays, see which array is longest and use that one to create the rest, but if there are forms with multiple repeaters it still may not get them all
My temporary fix is to submit a form with 25 rows to ensure I get all the data for the previous submissions just before export, but this is a pain.
I have also sent an email from the contact form on your website
- The topic ‘conflict with Contact Form 7 – Repeatable Fields’ is closed to new replies.