Plugin Directory

Opened 7 months ago

Last modified 7 months ago

#2646 new defect

CSV file exports without entry data

Reported by: serega.web Owned by: algonzalez
Priority: highest Severity: critical
Plugin: not-listed Keywords: cf7, csv, export


When i export submissions from my contact form, i get a CSV file but it only shows dates, not the data entried in the form. I will copy the only text i get in my file, is there any way to export the whole data?

I need to get every field of the form in my file.

1335,”2017-08-28 12:55:05″,contacto-prestamos
1334,”2017-08-28 11:11:05″,contacto-prestamos
1333,”2017-08-28 10:47:32″,contacto-prestamos
1332,”2017-08-28 02:05:16″,contacto-prestamos
1331,”2017-08-28 01:40:06″,contacto-prestamos

Change History (1)

comment:1 @serega.web7 months ago

replace lines 472-473 in the contact-form-submissions\Admin.php file on the:

$value = implode(',', $value);
$values[$key] = mb_convert_encoding(sanitize_text_field($value), 'UTF-16LE');
Last edited 7 months ago by serega.web (previous) (diff)
Note: See TracTickets for help on using tickets.