Title: Checkbox default value incorrect
Last modified: August 2, 2017

---

# Checkbox default value incorrect

 *  [Eric Armstrong](https://wordpress.org/support/users/aeric325/)
 * (@aeric325)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/checkbox-default-value-incorrect/)
 * Hi.
 * First, great plugin. I expect to install half a dozen of the great add-ons you
   have available. (Good business model, too. I’m jealous.)
 * Now then, the problem: Near the bottom of this page is a checkbox (“I have skills”)
   that defaults to true, even though I have no default value specified for it:
   
   [http://treelight.com/voting-advice-system/sign-the-declaration/](http://treelight.com/voting-advice-system/sign-the-declaration/)
 * I tried setting the default to “no”, “No”, “NO”, and “0”, but nothing works to
   turn it off.
 * An earlier checkbox in the signup form has the value “Yes”. That is checked by
   default. Others have no value, and they appear unchecked. Only this one item 
   has no default, and set still appears with a value.
 * I’ve done Ctrl-A + Ctrl+X in the default field, to make sure it is empty.
    Settings
   are “Not required”, Display-column=0, Admin-column=13, Sortable=yes, CSV=yes,
   Persistent=no, Signup=Yes, Read-only= no.
 * Any idea what the problem may be?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/checkbox-default-value-incorrect/#post-9372379)
 * You need to define at least one value for a checkbox. This goes into the “values”
   setting in the field definition. If you don’t care what the unchecked value is,
   just one value will work. Leave the default blank.
 * [Defining Participants Database Fields](https://xnau.com/work/wordpress-plugins/participants-database/participants-database-documentation/defining-participants-database-fields/#values)

Viewing 1 replies (of 1 total)

The topic ‘Checkbox default value incorrect’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/checkbox-default-value-incorrect/#post-9372379)
 * Status: not resolved