# Combining search constraints with OR

**URL:** <https://forum.bubble.io/t/combining-search-constraints-with-or/23103>\
**Category:** Need help\
**Created:** [January 16, 2018, 11:31am UTC](https://forum.bubble.io/t/combining-search-constraints-with-or/23103 "2018-01-16T11:31:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikramnayak.vn](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vikramnayak.vn](https://forum.bubble.io/u/vikramnayak.vn)\
**Post date:** [January 16, 2018, 11:31am UTC](https://forum.bubble.io/t/combining-search-constraints-with-or/23103/1 "2018-01-16T11:31:44Z")

</div>

Hi Guys,

For an API workflow, i am trying to implement the following logic: if field\_A = parameter\_1 OR field\_B = parameter\_2, then return field\_3.

Is there any way to do this? At the moment, the constraints seem to be the equivalent of sql AND.

Thanks,  
Vikram

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [January 16, 2018, 12:00pm UTC](https://forum.bubble.io/t/combining-search-constraints-with-or/23103/2 "2018-01-16T12:00:34Z")

</div>

> [@Repeating Group searching with one filter OR a different filter](http://forum.bubble.io/t/repeating-group-searching-with-one-filter-or-a-different-filter/22904/2):
>
> Merge your searches. You can do “Search for Posts :merged with Search for Posts” and each search can have its own set of constraints.

---

<div class="post-metadata">

**Author:** ![vikramnayak.vn](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vikramnayak.vn](https://forum.bubble.io/u/vikramnayak.vn)\
**Post date:** [January 16, 2018, 12:02pm UTC](https://forum.bubble.io/t/combining-search-constraints-with-or/23103/3 "2018-01-16T12:02:13Z")

</div>

Fantastic ! Thanks a ton. Just got it working

---

<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 27, 2018, 11:31am UTC](https://forum.bubble.io/t/combining-search-constraints-with-or/23103/4 "2018-03-27T11:31:53Z")

</div>

Closed on March 27, 2018, 11:31am UTC

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