# Auto-populating Choice Component

**URL:** https://community.glideapps.com/t/auto-populating-choice-component/81299
**Category:** Ask for Help
**Created:** [April 12, 2025, 7:01am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299 "2025-04-12T07:01:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Kris\_Spinden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kris_spinden/32/86994_2.png) [@Kris\_Spinden](https://community.glideapps.com/u/Kris_Spinden)
#### Post date: [April 12, 2025, 7:01am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/1 "2025-04-12T07:01:31Z")

</div>

I have a form to create a new or select a “Recurring Activity”. Once the user submits this form I want it to auto-populate some of the fields of a new “Activity Entry” form. I understand that in order to have a “Default value” field in a Choice Component it has to be in a Form Container. Two of the fields that I want to auto-populate are in the Choice Components.

The problem I am having is that one of the Choice Components is dependent on the other “Parent” component. I believe that the Parent component does not immediately write to the table when a selection is made, so my dependent Choice Component does not know which “Sub-Activities” to display.

I need to either find a way to make the dependent Choice Component work properly or find a different way to auto-populate the “Activity Entry” form. I am also open to any other creative ideas.

Than you in advance!

Kris

---

<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: [April 12, 2025, 7:03am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/2 "2025-04-12T07:03:21Z")

</div>

> [@Kris\_Spinden](#):
>
> I understand that in order to have a “Default value” field in a Choice Component it has to be in a Form Container.

The normal form has this option as well.

Do you mean these are two separate forms?

---

<div class="post-metadata">

### Author: ![Kris\_Spinden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kris_spinden/32/86994_2.png) [@Kris\_Spinden](https://community.glideapps.com/u/Kris_Spinden)
#### Post date: [April 12, 2025, 7:07am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/3 "2025-04-12T07:07:28Z")

</div>

The normal choice component has a “Default value” option? Originally I had a container that held the choice components and I was able to have the dependent choice component work properly, but the issue was is that I could not auto-populate those fields because there was no Default value section to capture the data from the “Recurring Activity” form.

Yes, these are two separate forms. One screen with a Recurring Activity form and another screen with an “Activity Entry” form.

---

<div class="post-metadata">

### Author: ![Kris\_Spinden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kris_spinden/32/86994_2.png) [@Kris\_Spinden](https://community.glideapps.com/u/Kris_Spinden)
#### Post date: [April 12, 2025, 7:08am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/4 "2025-04-12T07:08:54Z")

</div>

But you raise a good point. Maybe I should have it all on one screen with an option to select or create a “Recurring Activity” on the same screen. Would this solve the issue?

---

<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: [April 12, 2025, 7:13am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/5 "2025-04-12T07:13:06Z")

</div>

Sounds like you’re not having a normal form, but a “custom form” (as in having entry components on a details screen)?

There’s an “Open Form” action if you want to explore that option, but form container would do as well, if you need it on the screen opposed to open a new screen.

---

<div class="post-metadata">

### Author: ![Kris\_Spinden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kris_spinden/32/86994_2.png) [@Kris\_Spinden](https://community.glideapps.com/u/Kris_Spinden)
#### Post date: [April 12, 2025, 7:18am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/6 "2025-04-12T07:18:10Z")

</div>

![Screenshot 2025-04-12 001614](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/3/039fd64c26480178d2fb9dce8bb411f931a6b22e.jpeg)  
 ![Screenshot 2025-04-12 001749](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a0cb0fd5e8abd59dd28a1841a21ecbee943cd141.jpeg)

---

<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: [April 12, 2025, 8:42am UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/7 "2025-04-12T08:42:36Z")

</div>

That looks like a custom form to me, meaning you are adding entry components on top of a details screen and then use an add row action to “submit” the form. Is that correct?

---

<div class="post-metadata">

### Author: ![Kris\_Spinden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kris_spinden/32/86994_2.png) [@Kris\_Spinden](https://community.glideapps.com/u/Kris_Spinden)
#### Post date: [April 12, 2025, 6:42pm UTC](https://community.glideapps.com/t/auto-populating-choice-component/81299/8 "2025-04-12T18:42:52Z")

</div>

Thank you for the reply ThinDinh!. Yes, you are correct about that. Is there a better way to do it?
