# How to Control lebel of a button?

**URL:** https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898
**Category:** Questions about Thunkable X
**Created:** [May 6, 2020, 7:20am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898 "2020-05-06T07:20:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![biswajitjei02n8v0iw](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@biswajitjei02n8v0iw](https://community.thunkable.com/u/biswajitjei02n8v0iw)
#### Post date: [May 6, 2020, 7:20am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/1 "2020-05-06T07:20:32Z")

</div>

How to control lebel of a button from data base status of firebase .

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [May 6, 2020, 9:36am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/2 "2020-05-06T09:36:37Z")

</div>

Hey @biswajitjei02n8v0iw

Can you share a screenshot of what you’ve tried so far?

Have you followed our docs on setting up the RealtimeDB correctly?

---

<div class="post-metadata">

### Author: ![biswajitjei02n8v0iw](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@biswajitjei02n8v0iw](https://community.thunkable.com/u/biswajitjei02n8v0iw)
#### Post date: [May 7, 2020, 10:05am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/3 "2020-05-07T10:05:06Z")

</div>

after going through docs .yes did all that. now the problem is how do i add multiple addlistners ? for multiple number of buttons.

 ![2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/2/6282374d11a211a4b234151892cd03dec17c9f2a.jpeg)

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 7, 2020, 10:54am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/4 "2020-05-07T10:54:25Z")

</div>

Instead of a listener for a single value , you could add a list of values. Then

If an item changed

Based on the position in the list make changes accordingly

---

<div class="post-metadata">

### Author: ![biswajitjei02n8v0iw](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@biswajitjei02n8v0iw](https://community.thunkable.com/u/biswajitjei02n8v0iw)
#### Post date: [May 8, 2020, 5:12am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/5 "2020-05-08T05:12:04Z")

</div>

tried many times but no success. how to do this ? added list still no result.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/2/d22a05e3e7e7bd05c04e175ebd7593dfe4434367.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/7/a712519a4b24ff0848274031d8bd654329c90f3b.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/9/e947ac99da01fb24ed6788417e5691b2c88e0d6b.png)  
any document or link ?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:29am UTC](https://community.thunkable.com/t/how-to-control-lebel-of-a-button/564898/6 "2024-11-08T11:29:23Z")

</div>


