# Get the name of the chosen collection

**URL:** <https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947>\
**Category:** Ask for Help\
**Created:** [June 7, 2024, 7:22am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947 "2024-06-07T07:22:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CuriousGeorge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curiousgeorge/32/59363_2.png) [@CuriousGeorge](https://community.glideapps.com/u/CuriousGeorge)\
**Post date:** [June 7, 2024, 7:22am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/1 "2024-06-07T07:22:06Z")

</div>

Hello, everyone! I need a suggestion.

Currently, I’m trying to make a form specified by the chosen collection. If I choose the Collection, it will only show the form for that collection.

Otherwise, is there any chance to get the name of the chosen collection? So, I could classify the form by using that value. Example: I choose “Money” from the collection, then I could get the name of the collection (Money).

Detailed flow:

1. Choose from collections
2. Show Form
3. Only show container that have the same name as the chosen collection

---

<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:** [June 7, 2024, 7:54am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/2 "2024-06-07T07:54:18Z")

</div>

Use a custom action and set the conditional.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 7, 2024, 11:38pm UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/3 "2024-06-07T23:38:51Z")

</div>

When you say “choose from collections”, do you mean you choose an item from a collection?

---

<div class="post-metadata">

**Author:** ![CuriousGeorge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curiousgeorge/32/59363_2.png) [@CuriousGeorge](https://community.glideapps.com/u/CuriousGeorge)\
**Post date:** [June 10, 2024, 2:17am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/4 "2024-06-10T02:17:59Z")

</div>

Yes

---

<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:** [June 10, 2024, 8:25am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/6 "2024-06-10T08:25:36Z")

</div>

Have you tried custom actions?  
Or you can directly use “show form screen” and set all the visibility of your components to the user’s preferred value (“Money” from your example)

---

<div class="post-metadata">

**Author:** ![CuriousGeorge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curiousgeorge/32/59363_2.png) [@CuriousGeorge](https://community.glideapps.com/u/CuriousGeorge)\
**Post date:** [June 10, 2024, 9:21am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/7 "2024-06-10T09:21:29Z")

</div>

Currently, I am trying to solve this case by inserting the value (name) of the chosen item as the default value in a text entry component. After that, I made the visibility condition to classify the container by the default value and to make the text entry component that has the name of the chosen item disappear.

---

<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:** [June 10, 2024, 10:11am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/8 "2024-06-10T10:11:20Z")

</div>

To make it easier, you should use a custom action. Your value needs to be written to the user table in the `usc` column. This way, you can set visibility by pulling data from this column to manage the visibility of your component.

 ![Screenshot 2024-06-10 at 17.06.36](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/f/cf7d3da7966386ed598338abc814ce09969cdb7d.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 17, 2024, 10:12am UTC](https://community.glideapps.com/t/get-the-name-of-the-chosen-collection/73947/9 "2024-06-17T10:12:13Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
