# Sometimes visible condition is not working

**URL:** <https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849>\
**Category:** Get Help\
**Created:** [November 19, 2021, 9:50am UTC](https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849 "2021-11-19T09:50:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpotts](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jpotts](https://forum.adalo.com/u/jpotts)\
**Post date:** [November 19, 2021, 9:50am UTC](https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849/1 "2021-11-19T09:50:58Z")

</div>

I’m pretty sure that this is a bug rather than misconfiguration…

It seems that the highlighted part of the condition i’ve set (in the screenshot) for visibility of buttons is not being recognised. I.e, it is calculating how many credits ALL users have rather than the sum of Credits where the user email property = logged in user’s email as it should be. I’ve confirmed this by changing the cost of an Estimate to 21 (there are currently 20 credits in total on the system across 2 user account) and the accept / decline buttons disappear.

I know that the setup of the filter is correct because I have this displaying as sum in each user accounts dashboard as a balance.

Can anyone help?

 ![Screenshot 2021-11-18 at 16.32.56](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/c4dd28634d2f98d047bb396ca01a729b9d4a06e5.png)

---

<div class="post-metadata">

**Author:** ![jpotts](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jpotts](https://forum.adalo.com/u/jpotts)\
**Post date:** [November 19, 2021, 10:27am UTC](https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849/3 "2021-11-19T10:27:22Z")

</div>

Tried changing is equals to to contains and it didn’t work but thanks for the suggestion. 🙂

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [November 19, 2021, 9:07pm UTC](https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849/4 "2021-11-19T21:07:40Z")

</div>

Hi @jpotts ,

In my experience, not all variables comparation works for every time they can be compared.

I find that update action is the most reliable, if conditional and visibility does not serve the need.

In your case, you might add additional field as credit sum and use this instead, rather than use sum from numbers field.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [November 29, 2021, 9:07pm UTC](https://forum.adalo.com/t/sometimes-visible-condition-is-not-working/19849/5 "2021-11-29T21:07:48Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
