# Multiple Selection with regular Button

**URL:** <https://forum.bubble.io/t/multiple-selection-with-regular-button/44838>\
**Category:** Need help\
**Created:** [December 17, 2018, 2:23pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838 "2018-12-17T14:23:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhn.pt](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@abhn.pt](https://forum.bubble.io/u/abhn.pt)\
**Post date:** [December 17, 2018, 2:23pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/1 "2018-12-17T14:23:53Z")

</div>

Hi ! I am trying to allow users to select one or more choices using regular buttons and when selected, I would like the button to stay as selected (change the background color)

I already tried what they proposed on this topic. [Can I Use Buttons like Radio Buttons?](http://forum.bubble.io/t/can-i-use-buttons-like-radio-buttons/19637)  
And its working well, the only point is that it **won’t allow multiple selection.**

I tried putting it as a list but then the color won’t change or stay selected,

What should I change / add to obtain the effect I want ?

Thank You !

---

<div class="post-metadata">

**Author:** ![philnauta](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/philnauta/32/7808_2.png) [@philnauta](https://forum.bubble.io/u/philnauta)\
**Post date:** [December 17, 2018, 4:28pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/2 "2018-12-17T16:28:38Z")

</div>

I’m not quite understanding, but this should be possible. Can you share access to the editor or at least a few screenshots of what it looks like so far? Specifically, how do the buttons currently interact with the database?

---

<div class="post-metadata">

**Author:** ![abhn.pt](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@abhn.pt](https://forum.bubble.io/u/abhn.pt)\
**Post date:** [December 17, 2018, 7:40pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/3 "2018-12-17T19:40:49Z")

</div>

Hi philnauta,  
thanks a lot for taking the time to see my post.

so I want the user to be able to select multiple buttons on this page:

 ![44%20PM](https://us1.discourse-cdn.com/bubble/original/3X/1/1/110ddf530d5b7a12ea24e630b90175641fd5c5e3.png)

And once one or more of those grey buttons are clicked, I want the button to change color and stay with the new color to show that is has been selected.

this is the date base I created:

 ![26%20PM](https://us1.discourse-cdn.com/bubble/original/3X/3/f/3f77a34038d4b6bd302f87e80189707210110360.png)

and then I add this in the apparence setting of the repeating group where appear my database:

 ![50%20PM](https://us1.discourse-cdn.com/bubble/original/3X/d/6/d69caaf308ebe154ec5d7261bc9c6be402dab46e.jpeg)

And this in the element inspector:

 ![59%20PM](https://us1.discourse-cdn.com/bubble/original/3X/8/d/8da59f6fbca0f4ed8e086b6297c99ad86c945f66.png)

the workflow is working like that:

 ![52%20PM](https://us1.discourse-cdn.com/bubble/original/3X/c/d/cd0953a1a7a3661bf4d95fd3ad1f12f9c25eda1e.png)

and finally I added this conditional on the button to change the background when its clicked

 ![41%20PM](https://us1.discourse-cdn.com/bubble/original/3X/9/b/9bf876a09997a8df77f6f7d8340a5c17ce2c1eae.jpeg)

so on the preview: appears my database, all OK, when buttons are clicked they changed to purple, all OK  
BUT now I want the user to be able to select multiple buttons.  
With what I set up, if you choose A and then B, A changes back to grey and B become purple, but I want A to also stay “selected” and purple even if I click on B after, you can check the preview:

[https://classihy.bubbleapps.io/version-test/likes](https://classihy.bubbleapps.io/version-test/likes)

I guess I should work with a “list” but im not figuring it out exactly how.

I hope I was clear this time.

Thanks a lot for your time!

---

<div class="post-metadata">

**Author:** ![philnauta](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/philnauta/32/7808_2.png) [@philnauta](https://forum.bubble.io/u/philnauta)\
**Post date:** [December 17, 2018, 8:44pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/4 "2018-12-17T20:44:08Z")

</div>

This should help 🙂 [https://bubble.io/page?type=page&name=repeatinggroup-state-list&id=phil-testing&tab=tabs-2](https://bubble.io/page?type=page&name=repeatinggroup-state-list&id=phil-testing&tab=tabs-2)

---

<div class="post-metadata">

**Author:** ![abhn.pt](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@abhn.pt](https://forum.bubble.io/u/abhn.pt)\
**Post date:** [December 17, 2018, 9:22pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/5 "2018-12-17T21:22:34Z")

</div>

THANKS PHILL !!!  
a 1000 times 😉

got it

> **[Bubble - Visual Programming](https://thanksphil.bubbleapps.io/version-test/thannks)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

amazing community.  
very grateful !

---

<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:** [February 25, 2019, 6:12pm UTC](https://forum.bubble.io/t/multiple-selection-with-regular-button/44838/6 "2019-02-25T18:12:40Z")

</div>

Closed on February 25, 2019, 6:12pm UTC

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