Hi,
When i export entries to an excel file the enters in textarea's gives new lines? Is it possible to solve this?
Kind regards,
Alco
Hi,
When i export entries to an excel file the enters in textarea's gives new lines? Is it possible to solve this?
Kind regards,
Alco
I also have this problem.
Is there a solution for?
Yes, I have fixed it:
add the follow lines to functions.php
add_filter("gform_save_field_value", "save_field_value", 10, 4);
function save_field_value($value, $lead, $field, $form){
$new_value = str_replace(array("\n", "\t","\r"), ' ', $value);
return $new_value;
}
Good solution, though of course it means that any block of text given to you by your users will show up without any line breaks, but that should make Excel happy.
Hi Matthijs,
Thx for the solution!
Although its maybe a better idea to call a simalair function when the excel export is made? (maybe a function that makes it possible to choose?)
We tried to keep our export system as simple as possible. We will look at making it more feature filled in the future. All my best!