# Help wanted with using the choice component

**URL:** <https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779>\
**Category:** Ask for Help\
**Created:** [July 1, 2022, 7:17pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779 "2022-07-01T19:17:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 1, 2022, 7:17pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/1 "2022-07-01T19:17:41Z")

</div>

I have a question:  
I am building a site where I have tabs for

- Type of skates
- Sizes of skates
- Users

I want a user to choose a type of skate with his size.  
The thing is every type of skate has its own series of corresponding sizes.

Type A is available in size 1,2,3,4,5  
Type B is available in size 6,7,8,9,10  
Type C is available in size 4,5,6,7

How can I use the choice component reading from the sizes tab but only show the sizes corresponding to the Type of choice? So when selecting Type A only get to choose from 1,2,3,4,5?

Or am I looking in the wrong direction?

---

<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:** [July 1, 2022, 11:29pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/2 "2022-07-01T23:29:23Z")

</div>

My first thought is to filter by screen values. How is the data in your sizes table structured? Do you have a column for type and a column for size?

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 2, 2022, 8:57am UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/3 "2022-07-02T08:57:48Z")

</div>

I am sketching so I can change the data in the way it best.  
Right now in the sizes table I have a column for size and a column for every type where i say TRUE if available.

---

<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:** [July 2, 2022, 12:43pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/4 "2022-07-02T12:43:52Z")

</div>

If it was me, I would have a type column and a size column, and then fill the table with every possible combination. (That would also give you the option to eliminate the Type table altogether, because a choice component pointed to the type column in the size table would eliminate any duplicate values.) Then it would be as simple as filtering the size choice component based on the screen value of the chosen type in the type choice component.

An alternative would be to create a column with a comma delimited list of Types in the Sizes table. Then you would still set a filter in the size choice component to filter where the screen value of the chosen type is included in the delimited list of types in the sizes table.

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 2, 2022, 12:48pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/5 "2022-07-02T12:48:26Z")

</div>

Good idea!  
Now I am at the next problem, I don’t see the option to filter via choosing a screen value / column.  
It will be my fault, but do you have an idea what I am doing wrong?

 ![CleanShot 2022-07-02 at 14.31.05@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/3/735cec912476ec5cf7da2c35c899e265885f5df8.png)  
 ![CleanShot 2022-07-02 at 14.39.43@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/7/97e09f159dbd5e94e40c7561db7c41d3458c07a3.png)

---

<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:** [July 2, 2022, 12:56pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/6 "2022-07-02T12:56:12Z")

</div>

Your screen looks pretty squished. There should be three dots to open a menu for your enter value section. I would play around with your zoom levels.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/f/9f7ec383b2830c534060796edb2473fbc79c05e9.png)

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 2, 2022, 1:02pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/7 "2022-07-02T13:02:43Z")

</div>

This is just what Glide does on my Powerbook 15 inch, not something I choose, but thanks! I’ll have a look!

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 2, 2022, 2:03pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/8 "2022-07-02T14:03:27Z")

</div>

Mmmm typical, I had selected the wrong column …

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [July 2, 2022, 2:05pm UTC](https://community.glideapps.com/t/help-wanted-with-using-the-choice-component/43779/9 "2022-07-02T14:05:06Z")

</div>

Thanks for your time @Jeff_Hager
