Title: default:get at checkbox?
Last modified: October 17, 2023

---

# default:get at checkbox?

 *  Resolved [Rappi](https://wordpress.org/support/users/rappi/)
 * (@rappi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/)
 * Hello.
 * Is there a way to GET the status of a checkbox to the form? I understand this
   with text. There I can enter a default:get, but for a checkbox this is ignored.
 * Rappi
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefaultget-at-checkbox%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/#post-17131687)
 * See [Getting default values from the context](https://contactform7.com/getting-default-values-from-the-context/)
   first.
 *  Thread Starter [Rappi](https://wordpress.org/support/users/rappi/)
 * (@rappi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/#post-17132133)
 * Hi,
 * this is the tutorial with a text field as an example. I know that this is how
   it works. But with checkboxes this does not work, because behind “default:” the
   preselection of the checkbox group can be specified. Therefore a possible GET
   is ignored.
   Example 1:[checkbox Test default:2 “Test1” “Test2” “Test3”]activates
   the checkbox of Test2.Example 2:[checkbox Test default:get “Test1” “Test2” “Test3”]
   Form call with [http://www.seite.com/?Test=2](http://www.seite.com/?Test=2) does
   not work. No checkboxes are activated.I need a solution for this.
 * Rappi
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/#post-17132361)
 * A checkbox option is an array item, so you need to use the array syntax in the
   URL: `?Test[]=Test2`
 *  Thread Starter [Rappi](https://wordpress.org/support/users/rappi/)
 * (@rappi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/#post-17132464)
 * Perfect!
 * Many thanks!

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

The topic ‘default:get at checkbox?’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Rappi](https://wordpress.org/support/users/rappi/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/defaultget-at-checkbox/#post-17132464)
 * Status: resolved