# Limit Choice button selection

**URL:** <https://community.glideapps.com/t/limit-choice-button-selection/59043>\
**Category:** Ask for Help\
**Created:** [March 11, 2023, 10:48pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043 "2023-03-11T22:48:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [March 11, 2023, 10:48pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/1 "2023-03-11T22:48:42Z")

</div>

How to limit number of choices to be picked in choice component in glide app?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 11, 2023, 10:54pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/2 "2023-03-11T22:54:39Z")

</div>

Is it an App project or a Page project? Page projects will let you set a maximum number of choices.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/2/a2dd036f3947b03f59633ba5a4c5a1319d36d29a.png)

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [March 12, 2023, 12:26am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/3 "2023-03-12T00:26:15Z")

</div>

App Project. I can’t find this max choices option

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 12, 2023, 12:28am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/4 "2023-03-12T00:28:55Z")

</div>

Right. As I alluded to in my prior post, that option is only available in Page projects.

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [March 12, 2023, 12:40am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/5 "2023-03-12T00:40:21Z")

</div>

Is there any way to limit the selection?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 12, 2023, 1:13am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/6 "2023-03-12T01:13:03Z")

</div>

None that I can think of other than to switch a Page project.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 12, 2023, 8:44am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/7 "2023-03-12T08:44:02Z")

</div>

I’ve used a trick: switching the visibility between a choice component and an inline-list if the limit has been reached. Whereas in the inline-list which displays the results of the user’s choice, an action is given to delete/cancel the previous selection. Maybe this will help.

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [March 12, 2023, 1:10pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/8 "2023-03-12T13:10:33Z")

</div>

Can you further elaborate

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 12, 2023, 2:11pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/9 "2023-03-12T14:11:35Z")

</div>

![Screenshot 2023-03-12 205117](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/d/ad4d547a3d34319efdf4a30e5d08c6c07a600cde.png)

After setting what is shown in the image, all you have to do is make visibility settings that are different from the inline list and the choice of components to the limits you want.

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [March 12, 2023, 2:13pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/10 "2023-03-12T14:13:36Z")

</div>

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [March 12, 2023, 4:07pm UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/11 "2023-03-12T16:07:29Z")

</div>

He has a native form from what I believe. This condition can only work on a custom form.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 13, 2023, 1:45am UTC](https://community.glideapps.com/t/limit-choice-button-selection/59043/12 "2023-03-13T01:45:03Z")

</div>

Yes you are right. This only works for custom forms like the ones I mentioned above which require deselecting action.
