# How do I pass values through forms to choose values by default in choice components?

**URL:** https://community.glideapps.com/t/how-do-i-pass-values-through-forms-to-choose-values-by-default-in-choice-components/60451
**Category:** Ask for Help
**Created:** [April 12, 2023, 2:34pm UTC](https://community.glideapps.com/t/how-do-i-pass-values-through-forms-to-choose-values-by-default-in-choice-components/60451 "2023-04-12T14:34:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ldevalbray](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ldevalbray/32/21556_2.png) [@ldevalbray](https://community.glideapps.com/u/ldevalbray)
#### Post date: [April 12, 2023, 2:34pm UTC](https://community.glideapps.com/t/how-do-i-pass-values-through-forms-to-choose-values-by-default-in-choice-components/60451/1 "2023-04-12T14:34:19Z")

</div>

Hello Glide community,

I have been stuck many times in front of this issue :

I have this data model :

A table called “folders” has a relation towards another table called “times”.  
From a collection of folders, I want to add a folder, not adding the times directly. Once created and inside the details panel of the folder, I want to add “times” entries, not reselecting the folder one more time, because I am already in the folder details page.  
So I tried to different ways but none of them work :  
From a times collection, I add an “add button”, which redirects towards a form screen to add a “times” entry.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/6/5640516cb1d5f2c0311c75a33db597b0b2e7ce83.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f13d907d36d9a7de05135d4611362df8c90334fe.jpeg)

Here, I would like to automatically fill the “dossier de formation” (Folders) choice component with the Folder I come from. But It does not seem to be possible ? Another option would be to filter out every other option but I don’t have the data to do so as even the screen data is about the actual “times” form.

Another way I tried is to add a button from the “folders” details page which redirects to a new screen holding “this item” data (to keep the folder data). Inside that new screen, I add a form container, targeting the “times” table. And here I am again with the same issue I mentioned above …

Thank you very much for your help, as I many times need to use this kind of relations.

---

<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: [April 12, 2023, 3:48pm UTC](https://community.glideapps.com/t/how-do-i-pass-values-through-forms-to-choose-values-by-default-in-choice-components/60451/2 "2023-04-12T15:48:38Z")

</div>

You don’t need an entry component to get the folder. Add a new component and select from Value category. You should see all of your folder table columns as available components while you are in the form.
