# This element should not be visible but it is

**URL:** <https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716>\
**Category:** Need help\
**Created:** [January 3, 2022, 4:26pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716 "2022-01-03T16:26:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 3, 2022, 4:26pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716/1 "2022-01-03T16:26:00Z")

</div>

Hi,

I have this conditionals to make a group visible.  
 ![conditionals](https://us1.discourse-cdn.com/bubble/original/3X/9/5/9558205458586a57fc47812950ceea63ca820a28.png)

As you can see in the image below, current user is NOT current page user, however, the conditionals are passed so the group is visible:

 ![reslult](https://us1.discourse-cdn.com/bubble/original/3X/5/5/55737b38cb5f70d58c1ff0edcf5943a045688ccc.png)

Since current user is not current page user, the group should not be visible.

Is this a bug? How can I fix this?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [January 3, 2022, 5:52pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716/2 "2022-01-03T17:52:05Z")

</div>

You’re using ‘Or’ expressions in your conditional which means if ANY of those things are true the condition will evaluate to True.

So presumably one or more of those things are true - you can find which one(s) with the debugger.

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [January 3, 2022, 6:35pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716/3 "2022-01-03T18:35:18Z")

</div>

As @adamhholmes said, you have some **OR** operators in you expression. Don’t mix **OR** and **AND** in the same expression. It is going to make a mess… Try to dismember them into two different expressions. One with **OR** and the other with **AND**.

---

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 4, 2022, 4:33pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716/4 "2022-01-04T16:33:23Z")

</div>

Thanks, putting the AND in the end of the expression fixed it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 14, 2022, 4:26pm UTC](https://forum.bubble.io/t/this-element-should-not-be-visible-but-it-is/184716/5 "2022-03-14T16:26:19Z")

</div>

Closed on March 14, 2022, 4:26pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
