# Find elements attached to a custom state

**URL:** <https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857>\
**Category:** App Organization\
**Created:** [February 12, 2021, 1:42pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857 "2021-02-12T13:42:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bosunjohnson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bosunjohnson/32/34541_2.png) [@bosunjohnson](https://forum.bubble.io/u/bosunjohnson)\
**Post date:** [February 12, 2021, 1:42pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/1 "2021-02-12T13:42:22Z")

</div>

Hi everyone,  
I am using a lot of custom states in my application. Unfortunately I have a custom state that I cannot remember the elements using it in the conditions. Is there a way to find the elements associated with a particular custom state?  
 ![states](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8a45d64c9209b0fc522d60157ec62fb934f4b5e7.png)

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [February 12, 2021, 1:45pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/2 "2021-02-12T13:45:22Z")

</div>

None.

Some folks place all their custom states on the page … or in a popup they never open that holds them. This way they can be found easily.

Hint: I am one of them 😉

---

<div class="post-metadata">

**Author:** ![bosunjohnson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bosunjohnson/32/34541_2.png) [@bosunjohnson](https://forum.bubble.io/u/bosunjohnson)\
**Post date:** [February 12, 2021, 1:57pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/3 "2021-02-12T13:57:12Z")

</div>

Thanks this is the same thing I do. I place all my custom states on the page. However, when I use the states on elements. The problem now is that I am looking for the element(a group I guess) that I have use the states to change its condition.

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [February 12, 2021, 2:02pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/4 "2021-02-12T14:02:27Z")

</div>

That is one way to do it.

After having so much trouble finding things … in my case I realized that naming states as literally as possible and placing them in a common location across pages works like a charm.

Using a hidden popup for data holding groups, states, plugins, reusable elements, can also be useful to make notes to yourself about what is going on.

---

<div class="post-metadata">

**Author:** ![bosunjohnson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bosunjohnson/32/34541_2.png) [@bosunjohnson](https://forum.bubble.io/u/bosunjohnson)\
**Post date:** [February 12, 2021, 2:05pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/5 "2021-02-12T14:05:40Z")

</div>

Thanks again. I will adopt the habit of naming them correctly. But for now, I have to keep looking as I have not found the element using the state. ☹

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [February 12, 2021, 2:07pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/6 "2021-02-12T14:07:21Z")

</div>

In an expression if you hover over that custom state and right click … you can reveal the element that holds that custom state

---

<div class="post-metadata">

**Author:** ![bosunjohnson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bosunjohnson/32/34541_2.png) [@bosunjohnson](https://forum.bubble.io/u/bosunjohnson)\
**Post date:** [February 12, 2021, 4:10pm UTC](https://forum.bubble.io/t/find-elements-attached-to-a-custom-state/135857/7 "2021-02-12T16:10:00Z")

</div>

That’s true in an expression. But in the element holding the state, it does not show.
