# Show Data in Repeating Group Only if Condition is Yes

**URL:** <https://forum.bubble.io/t/show-data-in-repeating-group-only-if-condition-is-yes/152384>\
**Category:** Database\
**Created:** [May 21, 2021, 3:16pm UTC](https://forum.bubble.io/t/show-data-in-repeating-group-only-if-condition-is-yes/152384 "2021-05-21T15:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tunhaiy.halid](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tunhaiy.halid/32/96107_2.png) [@tunhaiy.halid](https://forum.bubble.io/u/tunhaiy.halid)\
**Post date:** [May 21, 2021, 3:16pm UTC](https://forum.bubble.io/t/show-data-in-repeating-group-only-if-condition-is-yes/152384/1 "2021-05-21T15:16:36Z")

</div>

Hi, I need to build a function where when if the condition is Yes in Db then show the item in a repeating group. If No, don’t show the items. I am now stuck on this feature and really need help to do it. Hope someone can help.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [May 21, 2021, 3:44pm UTC](https://forum.bubble.io/t/show-data-in-repeating-group-only-if-condition-is-yes/152384/2 "2021-05-21T15:44:42Z")

</div>

Hi there, @tunhaiy.halid… if I understand your post correctly, it should be as simple as adding a constraint to the repeating group’s search where the condition (I’m assuming you mean field) in the associated data type = yes. Have you tried using a constraint like that?

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![tunhaiy.halid](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tunhaiy.halid/32/96107_2.png) [@tunhaiy.halid](https://forum.bubble.io/u/tunhaiy.halid)\
**Post date:** [May 21, 2021, 10:26pm UTC](https://forum.bubble.io/t/show-data-in-repeating-group-only-if-condition-is-yes/152384/3 "2021-05-21T22:26:25Z")

</div>

Thank you very much for the info, i kind of stuck last night because if this problem. You really help me solve this👍.
