# Two types of contents in a repeating group but visible to all users in frontend

**URL:** <https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476>\
**Category:** Need help\
**Created:** [January 20, 2023, 10:28am UTC](https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476 "2023-01-20T10:28:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehijiagboneclement](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ehijiagboneclement/32/157776_2.png) [@ehijiagboneclement](https://forum.bubble.io/u/ehijiagboneclement)\
**Post date:** [January 20, 2023, 10:28am UTC](https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476/1 "2023-01-20T10:28:40Z")

</div>

I have a main newsfeed page with a scrolling repeating group. But I want the repeating group to display slightly different cell design and content depending on the type of post.

I have two type of posts, offer and demand. I have added a new yes or no field( IsEnquiry) in the “post” data type. In the RG, I can use two groups so that only one is visible when IsEnquiry is YES. I want both users with “IsEnquiry” YES and No to be able to see all post in the RG in the front end. How do i get this done?

---

<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 20, 2023, 10:33am UTC](https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476/2 "2023-01-20T10:33:17Z")

</div>

You’ve pretty much described how to do it right there… i.e. have two groups in the RG cell, and determine which one to display depending on the value of the IsEnquiry field (although personally I’d use an Option Set for that)…

Is there something specific you’re having trouble with?

---

<div class="post-metadata">

**Author:** ![ehijiagboneclement](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ehijiagboneclement/32/157776_2.png) [@ehijiagboneclement](https://forum.bubble.io/u/ehijiagboneclement)\
**Post date:** [January 21, 2023, 6:53am UTC](https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476/3 "2023-01-21T06:53:34Z")

</div>

You are right. I was overthinking it. Thank you.

---

<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 31, 2023, 10:29am UTC](https://forum.bubble.io/t/two-types-of-contents-in-a-repeating-group-but-visible-to-all-users-in-frontend/242476/4 "2023-03-31T10:29:29Z")

</div>

Closed on March 31, 2023, 10:29am UTC

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