# List, relation & choice selection

**URL:** <https://community.glideapps.com/t/list-relation-choice-selection/2053>\
**Category:** Ask for Help\
**Created:** [November 16, 2019, 7:21pm UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053 "2019-11-16T19:21:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkGoosen](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@MarkGoosen](https://community.glideapps.com/u/MarkGoosen)\
**Post date:** [November 16, 2019, 7:21pm UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053/1 "2019-11-16T19:21:00Z")

</div>

Hi community, need help. I’ve configured a Glide app for customers to book a transport collection service with my business. I have a choice component whereby they select the object type, example motorcycle, boat, jet ski. Once they’ve selected say “motorcycle”, I’d like to expand and have the brand of motorcycle as a choice, example Harley-Davidson, Ducati etc. I’ve configured it using the inline list component, and it’s working for motorcycle, linking to the brand, but the problem is, it’s linking to the same brands when you select “boat”, how do I make it so that motorcycle displays motorcycle brands for selection, and boats displays boat brands for 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:** [November 20, 2019, 2:00am UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053/2 "2019-11-20T02:00:38Z")

</div>

How are your relations set up between objects and brands? The brands should also have a column for the related object.

If you’re looking for a potentially better way, there is now the ability to hide or show components based on the value in other components, You could have a form button to open a submission form. In that form I would first set up a choice component for object type. Then create separate choice components (that lists brands) for each of the types of objects. A condition can be set up for each of those brand choice components to only display the component if the selected object matches the type of brand choice component you want to see.

A thread regarding conditional components.

> [@Conditional visibility of components usage question](https://community.glideapps.com/t/conditional-visibility-of-components-usage-question/1993):
>
> Bravo on this feature release @Mark . Saw the announcement in app but haven’t seen in mentioned in the forums yet. Quick question about implementation, is there a way this can be used which bases it on a condition of the signed in user? Basically i’m trying to accomplish user roles where if the user has a role assigned of “x” they would be able to see the component.

---

<div class="post-metadata">

**Author:** ![MarkGoosen](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@MarkGoosen](https://community.glideapps.com/u/MarkGoosen)\
**Post date:** [November 21, 2019, 4:36am UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053/3 "2019-11-21T04:36:23Z")

</div>

Hi Jeff,

Sorry about the delayed reply. Let me give the below a try and I’ll get back to you.

Thanks very much for the reply and advice

---

<div class="post-metadata">

**Author:** ![MarkGoosen](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@MarkGoosen](https://community.glideapps.com/u/MarkGoosen)\
**Post date:** [November 21, 2019, 5:07am UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053/4 "2019-11-21T05:07:32Z")

</div>

Its working! You’re a legend!

Thank you so much!

---

<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:** [November 21, 2019, 5:09am UTC](https://community.glideapps.com/t/list-relation-choice-selection/2053/5 "2019-11-21T05:09:19Z")

</div>

Glad to here! Good luck with the rest of your project.
