Title: Connection between the filter elements
Last modified: September 1, 2016

---

# Connection between the filter elements

 *  Resolved [ferdenant](https://wordpress.org/support/users/ferdenant/)
 * (@ferdenant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/connection-between-the-filter-elements/)
 * Maybe somebody know how to write condition which will be working like this if
   I choice one of filter item, another item which connect with first one will be
   hidden.
 * [https://wordpress.org/plugins/woocommerce-products-filter/](https://wordpress.org/plugins/woocommerce-products-filter/)

Viewing 1 replies (of 1 total)

 *  [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * (@pavloborysenko)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/connection-between-the-filter-elements/#post-7652617)
 * Hello
 * I think yes. Example JS for checkboxes:
    jQuery(“input[value=’my_name’]”).change(
   function(){ if(this.checked){ jQuery(“input[value=’my_name2′]”).hide(); }else{
   jQuery(“input[value=’my_name2′]”).show(); }
 * **Be careful** with the code (this is just **an example** and not working code).
   For a similar function need experience in the development of

Viewing 1 replies (of 1 total)

The topic ‘Connection between the filter elements’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-filter/assets/icon-256x256.png?rev=
   2844301)
 * [HUSKY - Products Filter Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-products-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-filter/reviews/)

## Tags

 * [condition](https://wordpress.org/support/topic-tag/condition/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [hide](https://wordpress.org/support/topic-tag/hide/)
 * [woof](https://wordpress.org/support/topic-tag/woof/)

 * 1 reply
 * 2 participants
 * Last reply from: [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/connection-between-the-filter-elements/#post-7652617)
 * Status: resolved