# Text color change based on a data in repeating group

**URL:** <https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525>\
**Category:** Database\
**Created:** [January 3, 2023, 12:35am UTC](https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525 "2023-01-03T00:35:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedrotobarcaldas](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@pedrotobarcaldas](https://forum.bubble.io/u/pedrotobarcaldas)\
**Post date:** [January 3, 2023, 12:35am UTC](https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525/1 "2023-01-03T00:35:32Z")

</div>

In a repeating group. I insert a text to watch these values in a table. The value represent the “status” of the tickets… I want to have different colors between “Open” status and “Close” status…

What I want is to have all the “open” (status) word to be in green color and the “Close” (status) words to be in red color.

---

<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 3, 2023, 12:41am UTC](https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525/2 "2023-01-03T00:41:46Z")

</div>

Just add a condition to the text element…

When the current cell’s Thing’s status is Open, change the text colour to Green…

---

<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:** [January 3, 2023, 12:42am UTC](https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525/3 "2023-01-03T00:42:28Z")

</div>

Hi there, @pedrotobarcaldas… you can put conditions on the text element to change the text color based on the status of the current cell’s ticket, and those conditions would look something like this.

 ![status](https://us1.discourse-cdn.com/bubble/original/3X/e/8/e80a126c4225864d898a7767bb670dd324284f4e.png)

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![pedrotobarcaldas](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@pedrotobarcaldas](https://forum.bubble.io/u/pedrotobarcaldas)\
**Post date:** [January 3, 2023, 1:06am UTC](https://forum.bubble.io/t/text-color-change-based-on-a-data-in-repeating-group/239525/4 "2023-01-03T01:06:50Z")

</div>

> [@adamhholmes](#):
>
> Just add a condition to the text element…

Thanks so much! its works
