Title: Exporting in CSV &#8211; checkboxes marked as &#8220;array&#8221;
Last modified: March 31, 2017

---

# Exporting in CSV – checkboxes marked as “array”

 *  Resolved [marco3253](https://wordpress.org/support/users/marco3253/)
 * (@marco3253)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/)
 * Dear developer, thank you for your easy and working plugin.
 * I have a form on my website that has various fields, also a checkbox where you
   can mark multiple choices.
 * Unfortunately, all the fields are exported well in CSV but the checkboxes.
 * It is marked as “array” when the user select a multiple choice.
 * in contact form the question is “what language do you know?”
 * <label> Lingue estere che ritiene di conoscere con sufficiente preparazione </
   label>
    [checkbox checkbox-574 “Arabo” “Francese” “Inglese” “Spagnolo” “Tedesco”“
   Altro (specificare di seguito)”]
 * and if the user mark english and spanish, the csv export this as “array” how 
   can i solve this?
 * thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [marco3253](https://wordpress.org/support/users/marco3253/)
 * (@marco3253)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-8977967)
 * I tried also to do different checkboxes (1 valute each) to sidestep the problem,
   but another problems comes in.
 * [checkbox checkbox-574 “Arabic”]
    [checkbox checkbox-575 “French”] [checkbox 
   checkbox-576 “English”]
 * If i use this kind of structure, if the user1 select only Arabic the csv SHOULD
   be like this:
 * NAME | SURNAME | LANGUAGE1 | LANGUAGE2 |LANGUAGE3 | Email |
    john | Doe | Arabic
   | | | [email@email.com](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/email@email.com?output_format=md)
   |
 * but it comes like this
 * NAME | SURNAME | LANGUAGE1 | Email |LANGUAGE2 | LANGUAGE3 |
    john | Doe | Arabic
   | [email@email.com](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/email@email.com?output_format=md)
   | | |
 * (empty fields for last)
    and guess what happen when another user compile the 
   form and select language 2 and 3? A mess
 * NAME | SURNAME | LANGUAGE1 | Email |LANGUAGE2 | LANGUAGE3 |
    john | Doe | Arabic
   | [email@email.com](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/email@email.com?output_format=md)
   | | | mark | Smith | French | English | [noreply@email.com](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/noreply@email.com?output_format=md)
   | |
 * so maybe it is easier to solve the first question, i hope you got the problem
   it is not easy to write the chaos lol
 * thank you.
    -  This reply was modified 9 years, 2 months ago by [marco3253](https://wordpress.org/support/users/marco3253/).
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-8979885)
 * It will fix as soon possible. Thanks for your forum post.
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-8981164)
 * Please update cfdb7 plugin.
    Thanks
 *  Thread Starter [marco3253](https://wordpress.org/support/users/marco3253/)
 * (@marco3253)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-8985516)
 * Thank you for your fast fixing the problem, i updated the plugin seems to work
   fine now!
 * Just last thing (sorry if i bother you but users are meant to find bugs lol)
 * did you ever noticed that if you compile one of the field with an “apostrophe”
   don’t know if in english is the right terms, anyway, the surname of a friend 
   of mine is D’amico, if i use d’amico in a text field, exporting i get this error
   on the csv.
 * <b>Warning</b>: Invalid argument supplied for foreach() in <b>D:\xampp\htdocs\
   infrweb\wp-content\plugins\contact-form-cfdb7\inc\export-csv.php</b> on line 
   <b>87</b><br />
 * maybe there is something wrong with special chars.
 * thank you.
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-9064062)
 * Any error exist ?
 *  Thread Starter [marco3253](https://wordpress.org/support/users/marco3253/)
 * (@marco3253)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-9064523)
 * You fixed this in another thread
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-9064578)
 * Please provide feedback 🙂
 *  Thread Starter [marco3253](https://wordpress.org/support/users/marco3253/)
 * (@marco3253)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-9070176)
 * sure

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Exporting in CSV – checkboxes marked as “array”’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-cfdb7/assets/icon-256x256.png?rev=1619878)
 * [Database Addon for Contact Form 7 - CFDB7](https://wordpress.org/plugins/contact-form-cfdb7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-cfdb7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-cfdb7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-cfdb7/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [export](https://wordpress.org/support/topic-tag/export/)

 * 8 replies
 * 2 participants
 * Last reply from: [marco3253](https://wordpress.org/support/users/marco3253/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/exporting-in-csv-checkboxes-marked-as-array/#post-9070176)
 * Status: resolved