Title: Conditional fields with Checkbox
Last modified: June 12, 2024

---

# Conditional fields with Checkbox

 *  Resolved [mainliborg](https://wordpress.org/support/users/mainliborg/)
 * (@mainliborg)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/conditional-fields-with-checkbox/)
 * I’m trying to set up a conditional field attached to a checkbox item in Contact
   Form 7. When I set up the condition to have it match one of the possible entries
   it doesn’t work. So if I set the condition to match the checkbox item called “
   Test”, if I put Test into the condition to be matched exactly it doesn’t work.
   Is there something I’m missing about how this works with that type of field? 
   It works fine using text fields.

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

 *  Plugin Author [mdashikul](https://wordpress.org/support/users/mdashikul/)
 * (@mdashikul)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/conditional-fields-with-checkbox/#post-17823339)
 * Hi [@mainliborg](https://wordpress.org/support/users/mainliborg/) -I hope you
   are doing great. The UACF7 is currently compatible with the exclusive checkbox.
   Could you please check if you have the ‘exclusive’ attribute inside the checkbox
   tag [screenshot](https://prnt.sc/ZzPV2OESA_wL)
 *  Thread Starter [mainliborg](https://wordpress.org/support/users/mainliborg/)
 * (@mainliborg)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/conditional-fields-with-checkbox/#post-17823546)
 * Ok, so it needs to be set to only allow one option to be checked (exclusive)?
   If that’s the case I’ll need to change up the field type since the requirements
   are to allow multiple options to be possible.

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

The topic ‘Conditional fields with Checkbox’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-contact-form-7/assets/icon-128x128.gif?
   rev=3549230)
 * [Ultra Addons for Contact Form 7](https://wordpress.org/plugins/ultimate-addons-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mainliborg](https://wordpress.org/support/users/mainliborg/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/conditional-fields-with-checkbox/#post-17823546)
 * Status: resolved