# Assigning a category from a list of categories

**URL:** <https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906>\
**Category:** Ask for Help\
**Created:** [July 14, 2023, 11:38am UTC](https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906 "2023-07-14T11:38:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nils\_Faltin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nils_faltin/32/61646_2.png) [@Nils\_Faltin](https://community.glideapps.com/u/Nils_Faltin)\
**Post date:** [July 14, 2023, 11:38am UTC](https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906/1 "2023-07-14T11:38:09Z")

</div>

Assume i have a Things table and a Category table. Category has a unique name, stored in column “name”. Things relate to their category with a column “category name”.

Assume i navigate to a things detail editor page. I want to allow the user to change the category of the currently displayed thing. I could create a text entry element and link it to the “category name” field. But that solution is prone to typos. Instead, I want to show a list of all categories. And if the user selects one category from the list, its name shall be assigned to the “category name” field. But from an inline list of categories, I cannot modify the “category name” of the displayed thing. I can create and trigger an action on the selected category. But there is no entry “this screen” in the drop-down of things to change.

Any ideas how to allow user to assign a category from a list of categories?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 14, 2023, 11:44am UTC](https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906/2 "2023-07-14T11:44:13Z")

</div>

If you open an edit screen from your Things details screen, you should be able to add a choice component, target it at your Category Name column, and use the Category table (Name) as the source.

---

<div class="post-metadata">

**Author:** ![Nils\_Faltin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nils_faltin/32/61646_2.png) [@Nils\_Faltin](https://community.glideapps.com/u/Nils_Faltin)\
**Post date:** [July 14, 2023, 1:47pm UTC](https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906/3 "2023-07-14T13:47:08Z")

</div>

I tried it, works smoothly 😀. Thanks!

---

<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:** [July 15, 2023, 1:47pm UTC](https://community.glideapps.com/t/assigning-a-category-from-a-list-of-categories/63906/4 "2023-07-15T13:47:58Z")

</div>

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