Title: Checkboxes outputting &quot;Array&quot;
Last modified: August 21, 2016

---

# Checkboxes outputting "Array"

 *  [krashx6](https://wordpress.org/support/users/krashx6/)
 * (@krashx6)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/)
 * Since the update, my form’s check boxes started outputting “Array” in the email
   rather than which box they selected.
 * My code is below.
    On the Form: [checkbox checkbox-977 “Medical” “Dental”] In
   the Email: [checkbox-977]
 * Any ideas? I’ve tried remaking the form.
 * [http://wordpress.org/plugins/contact-form-7/](http://wordpress.org/plugins/contact-form-7/)

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

 *  [oleg77](https://wordpress.org/support/users/oleg77/)
 * (@oleg77)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010255)
 * I have the same problem with one of the forms: [http://europeancourt.ru/vebinary/](http://europeancourt.ru/vebinary/).
 * And I also remade that form with no success.
 * BTW, the other form with checkboxes works perfectly well: [http://europeancourt.ru/poluchit-konsultaciyu-po-telefonu/](http://europeancourt.ru/poluchit-konsultaciyu-po-telefonu/)
 *  [2cats](https://wordpress.org/support/users/2cats/)
 * (@2cats)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010306)
 * Same problem here. Checkboxes used to work fine so I think it is an upgrade issue?
   Here’s my code:
 * Form:
    `[checkbox InsuranceType "Auto" "Homeowner's" "Umbrella" "Watercraft" "
   Commercial" "Other"]` Email: `[InsuranceType]`
 * The rest of the form works fine but I really need those checkboxes. Thanks!
 *  [edmsim@gmail.com](https://wordpress.org/support/users/edmsimgmailcom/)
 * (@edmsimgmailcom)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010348)
 * Yes I have the same problem as well.
 * No matter which check box is checked, the email will indicate as “array”
 *  [ratputin](https://wordpress.org/support/users/ratputin/)
 * (@ratputin)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010360)
 * Same here…
 *  [Phil McDonnell](https://wordpress.org/support/users/philmcdonnell/)
 * (@philmcdonnell)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010366)
 * I have the same problem and found the cause. You can correct it for now by commenting
   out this line in the /includes/classes.php file
 * Around line 599 look for:
    `$submitted = trim( $submitted );`
 * Then just add the comment marks in front of it like so:
    `//$submitted = trim(
   $submitted );`
 * This trim is clipping out whatever the array search is looking for. We will have
   to wait for an official patch but for now this works!
 * Hope it help someone…
 *  [Kai](https://wordpress.org/support/users/webmasterfelix-systemsde/)
 * (@webmasterfelix-systemsde)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010389)
 * Great, this solution works.
 * Thank you
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010390)
 * I’m sorry for this. Fixed version will be released shortly.
 *  [2cats](https://wordpress.org/support/users/2cats/)
 * (@2cats)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010439)
 * Thank you, philmcdonnell, your solution works and we are up and running! And 
   thank you to Takayuki Miyoshi, this is a terrific and valuable plug-in and we’ll
   look forward to the official fix.
 *  [aalkemist](https://wordpress.org/support/users/aalkemist/)
 * (@aalkemist)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010641)
 * Check boxes are not showing in email received from the form – this is extremely
   important – I have 3.5.3 – latest version – anyone know what gives with this –
   I can’t implement the fix above as it seems the code has been changed.
 * HELP!!!
 * In form:
    [checkbox checkbox-104 “Mon. 11/25. 9am – 12 Noon” “Mon. 11/25. 12 
   Noon – 3pm” “Tues. 11/26. 9am – 12 Noon” “Tues. 11/26. 12 Noon – 3pm” “Wed. 11/
   27. 9am – 12 Noon” “Wed. 11/27. 12 Noon – 3pm” “Thurs. 11/28. 8am – 4pm (All 
   Day)” “Thurs. 11/28. 2pm – 4pm (Clean-Up)”]
 * In Email Message:
 * Desired Shifts:
    [checkbox-104]
 * I’m assuming that I should get a response from each of the shifts checked

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

The topic ‘Checkboxes outputting "Array"’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 9 replies
 * 9 participants
 * Last reply from: [aalkemist](https://wordpress.org/support/users/aalkemist/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/checkboxes-outputting-array/#post-4010641)
 * Status: not resolved