vtq
Forum Replies Created
-
Hi Frankie,
Thanks for fixing the issue.
I will change the rating but It’s concerning when a plugin locked all users out of a WordPress installation.
Not all self installed sites have direct file access without going through an involved process, and some users are not familiar with how to disable plugins using file access.
Hi kapiltanwani,
See my post in https://www.ads-software.com/support/topic/csv-fields-not-populating?replies=5
Hopefully Caldera will implement my fix for this problem.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Problem on exportHi Lipaonline,
See my post in https://www.ads-software.com/support/topic/csv-fields-not-populating?replies=5
Hopefully Caldera will implement my fix for this problem.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] CSV fields not populatingHi Guys,
I think I ran into this issue just recently, had a stressed client unable to see all fields in a CSV export.
I had to jump in and fix it myself.
PHP Jargon:
it’s to do with trying to access the first value in an array by assuming it has numerical keys (for checkboxes this is not the case).I have adjusted the code so it can handle arrays with both numerical keys or other types of keys.
In the file classes/admin.php
Line 1434
$row[$key] = $row[$key][0];
Will not work for some checkboxes (when only one value is ticked) because it is an associative array not a numerical one.
So, to work in all cases, replace that line with the following:
reset($row[$key]); $sub_arr_key = key($row[$key]); $row[$key] = $row[$key][$sub_arr_key];
David, it would be great if you can include this in the next release, just so we don’t clobber my fix when we update the plugin!
Love caldera forms, thanks for making such an awesome plugin.