Title: default:get not working with checkboxes
Last modified: September 25, 2018

---

# default:get not working with checkboxes

 *  [tappetyclick](https://wordpress.org/support/users/tappetyclick/)
 * (@tappetyclick)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/defaultget-not-working-with-checkboxes/)
 * I have defined the following field:
 * [checkbox brochures default:get use_label_element “Option 1” “Option 2” “Option
   3”]
 * But the field does not respond to the url parameter as per the documentation.
   I have tried “brochures=1” and “brochures=1_2” and “brochures=Option 1” and nothing
   seems to work. Does this work for checkboxes?
 * Can you advise
 * Thanks

Viewing 1 replies (of 1 total)

 *  [badro0](https://wordpress.org/support/users/badro0/)
 * (@badro0)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/defaultget-not-working-with-checkboxes/#post-10722314)
 * Hello,
 * Yes it works, but since you have a space in your value you need to url-encode
   it.
    So if you encode “Option 1” it becomes “Option%201” (replaced space with%
   20).
 * Now in your case try this:
 * ?brochures=Option%201
 * It should work.

Viewing 1 replies (of 1 total)

The topic ‘default:get not working with checkboxes’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [badro0](https://wordpress.org/support/users/badro0/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/defaultget-not-working-with-checkboxes/#post-10722314)
 * Status: not resolved