# How to add a choice component to a form that gets its data column from the user profile

**URL:** <https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943>\
**Category:** Ask for Help\
**Created:** [September 17, 2021, 11:49pm UTC](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943 "2021-09-17T23:49:19Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Peter\_Sloan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/peter_sloan/32/29254_2.png) [@Peter\_Sloan](https://community.glideapps.com/u/Peter_Sloan)\
**Post date:** [September 20, 2021, 7:45am UTC](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943/21 "2021-09-20T07:45:25Z")

</div>

By clicking an item in the (sub)group list which is an inline list e.g  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/6/36c67b195bb1664d238543a489261716eaa99201.png)

---

<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:** [September 20, 2021, 7:49am UTC](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943/22 "2021-09-20T07:49:57Z")

</div>

Okay, so that’s what I was talking about here:

> [@Darren\_Murphy](#):
>
> When a user selects a record in the list, the following happens:
> 
> - The value in the user specific column is written to a column in the user profiles table, via the single relation
> - The user is taken to the next level, Group B
> - The value that was just set is now used to pre-filter the records in Group B

So instead of using a Show Detail Screen as that action, change it to use a custom action with the following steps:

- Set Column values, which takes the value of the user specific column that the choice component has written to, and writes the value to another user specific column in your user profiles table, via a single relation
- Show Detail Screen → this item

At that point, the value of the filter that was used in the previous step will be in a column in your user profiles table, and you can use it on the next screen.

---

<div class="post-metadata">

**Author:** ![Peter\_Sloan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/peter_sloan/32/29254_2.png) [@Peter\_Sloan](https://community.glideapps.com/u/Peter_Sloan)\
**Post date:** [September 20, 2021, 8:57am UTC](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943/23 "2021-09-20T08:57:09Z")

</div>

The thing is that when I go down a level it uses the same form that I came from

---

<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:** [September 20, 2021, 10:00am UTC](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943/24 "2021-09-20T10:00:29Z")

</div>

I’m afraid I’m getting a little bit lost. Is there any chance you could make a video that shows what you currently have and describe where you’re trying to get to?

I’m sure there is a solution, I’m just struggling to visualise it at the moment.

[Previous page](https://community.glideapps.com/t/how-to-add-a-choice-component-to-a-form-that-gets-its-data-column-from-the-user-profile/31943.md?page=1)
