# Display Conditions for Filter List

**URL:** <https://community.hubspot.com/t/display-conditions-for-filter-list/115648>\
**Category:** CMS Development\
**Created:** [September 2, 2024, 3:33pm UTC](https://community.hubspot.com/t/display-conditions-for-filter-list/115648 "2024-09-02T15:33:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Woodsy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/woodsy/32/63860_2.png) [@Woodsy](https://community.hubspot.com/u/Woodsy)\
**Post date:** [September 2, 2024, 3:33pm UTC](https://community.hubspot.com/t/display-conditions-for-filter-list/115648/1 "2024-09-02T15:33:51Z")

</div>

Hi

I am trying to work out the best way to code a filter list so that if a tag from category is selected then the dropdown list in the category 2 dropdown will not show the tag that had already been selected in the first dropdown.

 ![Woodsy_1-1725290870353.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/9/99ff0c6b2251c3d5f99587edb3c35f85b9cd21b0.png)

The hubl varible names for the two dropdowns are:

 ![Woodsy_0-1725290838900.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/be93f54317c34ca294259072321429f84a4edb71.png)

Any guidance would be appreciate.  
James

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [September 3, 2024, 4:39pm UTC](https://community.hubspot.com/t/display-conditions-for-filter-list/115648/2 "2024-09-03T16:39:49Z")

</div>

Hey @Woodsy-- Thanks for your post!

I understand your goal is to exclude any drop-down options from subsequent drop-down menus if they were previously selected. Do you have a sample link for your module/page that you can share?

HubSpot has a great tutorial about setting up filters for HubDB [here](https://designers.hubspot.com/docs/tutorials/how-to-build-a-real-estate-listing-with-hubdb). If that does not cover what you are hoping to achieve, we can ask for some insight from some of our experts! @alyssamwilie, @erindigsmusic, @Indra Do y’all have any insight into conditional dropdown options based on previous selections?

Thanks in advance! 😊

Best,  
Kennedy
