# Segmented choice - tap on and off

**URL:** <https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639>\
**Category:** Feature Requests\
**Created:** [June 4, 2021, 2:34pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639 "2021-06-04T14:34:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan76](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan76/32/15696_2.png) [@Dan76](https://community.glideapps.com/u/Dan76)\
**Post date:** [June 4, 2021, 2:34pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/1 "2021-06-04T14:34:16Z")

</div>

I need 5 options in a segmented choice bar but only 4 are available if it’s set to ‘not required’. Could there be an option to tap the selection again to clear it, rather than having one of the spaces taken up by the minus/reset button? Seems a waste of space having that take up a slot.

---

<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:** [June 4, 2021, 3:05pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/2 "2021-06-04T15:05:45Z")

</div>

Good idea. If you need something now, you could create an Action Text or Rich Text with an action to clear the selection.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/c/4c0766498d17180b2babb9cd0ae7395437ca1c02.png)

---

<div class="post-metadata">

**Author:** ![Dan76](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan76/32/15696_2.png) [@Dan76](https://community.glideapps.com/u/Dan76)\
**Post date:** [June 4, 2021, 3:14pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/3 "2021-06-04T15:14:27Z")

</div>

Thanks but wouldn’t that require the choice bar to be set to ‘required’ to get all 5 slots on there? I have 10 choice bars and it’s up to the user which ones they complete so they are all set to not required. Also, with 10 choice bars, having an extra row for each with a clear button might be too much clutter on the screen?

---

<div class="post-metadata">

**Author:** ![Dan76](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan76/32/15696_2.png) [@Dan76](https://community.glideapps.com/u/Dan76)\
**Post date:** [June 4, 2021, 3:19pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/4 "2021-06-04T15:19:34Z")

</div>

Having a segmented choice bar that could scroll horizontally would be good too.

---

<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:** [June 4, 2021, 3:24pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/5 "2021-06-04T15:24:22Z")

</div>

Yes, you would set the choice bar to required to get all 5 slots, but if a user selects a choice and then clicks on ‘Clear Selection’, it would clear the underlying value, or you could set it to some other value that would not be in the list of choices, and the choice would not have anything selected.

Yes with 10 choice bars, this may be overkill to have 10 clears as well.

This leads me to a question. Are you trying to do this in a form or on a details screen? A form might be tricky since it activates or deactivates the submit button. Personally, I would create a custom form as they give you a lot more control and something like this would work a little better. In a custom form you could definitely even create a single button that clears all 10 of the choices at once.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particula…

Either way is probably not ideal for you, but figured I’d offer the suggestion if it helps.

---

<div class="post-metadata">

**Author:** ![Dan76](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan76/32/15696_2.png) [@Dan76](https://community.glideapps.com/u/Dan76)\
**Post date:** [June 4, 2021, 3:38pm UTC](https://community.glideapps.com/t/segmented-choice-tap-on-and-off/27639/6 "2021-06-04T15:38:20Z")

</div>

That looks great, I’ll definitely give that method a go. Yes, my app is using forms to enter assessment results. Cheers
