# Click Action with TWO conditions

**URL:** <https://forum.adalo.com/t/click-action-with-two-conditions/17182>\
**Category:** Get Help\
**Created:** [September 11, 2021, 10:05pm UTC](https://forum.adalo.com/t/click-action-with-two-conditions/17182 "2021-09-11T22:05:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [September 13, 2021, 10:41pm UTC](https://forum.adalo.com/t/click-action-with-two-conditions/17182/4 "2021-09-13T22:41:15Z")

</div>

Hi All,

I am using binary total, as explained in this post.

> [@About how to search](https://forum.adalo.com/t/about-how-to-search/14428/2):
>
> Hi @Tomtom , You can use binary total which can act as OR For example in article collection you have properties for #A and #B (2 properties), then add another property which is binary total, so if this article only related to #A, fill this binary total with 10, if it also related to #B, put 11 instead. If only related to #B, not to #A, put 1, if not related to any of that, put 0. So you can have filter here, if you want either of them, just choose 10 or 1. For additional information, check …

Another way to describe it, have a global variable in logged in user’s property as number, initialize this as 0 first, and update this property if first action is met with 10, and update again with +1 if second action is met.

So if both actions are met, the value should be 11, you can then use this in conditional for other actions.

---

_[View the full topic](https://forum.adalo.com/t/click-action-with-two-conditions/17182)._
