# Add record from inside choice component

**URL:** https://community.glideapps.com/t/add-record-from-inside-choice-component/5908
**Category:** Feature Requests
**Created:** [March 26, 2020, 5:42pm UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908 "2020-03-26T17:42:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)
#### Post date: [March 26, 2020, 5:42pm UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908/1 "2020-03-26T17:42:17Z")

</div>

Hi Glide team!

Just wanted to ask whether this feature is in your roadmap or not:

- Adding new record from inside the **Choice** component.  
Something like this 👇🏽  

- In my use case, I’m using the choice component to select my existing customer. If it’s a new customer , I’d have to add their record in the database tab first before adding their order in the sales tab. It’d be nice if we don’t have to go back and forth between tabs to add new record.

Thank you~

---

<div class="post-metadata">

### Author: ![Tim\_Sullivan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tim_sullivan/32/3461_2.png) [@Tim\_Sullivan](https://community.glideapps.com/u/Tim_Sullivan)
#### Post date: [March 26, 2020, 6:09pm UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908/2 "2020-03-26T18:09:38Z")

</div>

[nestedforms.glideapp.io](http://nestedforms.glideapp.io)

It looks like you can add a form inside a form - I just slapped this together to try it. I haven’t really played with it, but I did notice if you open the form IN the form, you lose everything you entered earlier. You have to completed the internal form, then complete the first form.

I’d likely use the choice at the top to check for existing customers - if I didn’t find one, add them using the form button, then finish filling it in.

---

<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: [March 26, 2020, 6:54pm UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908/3 "2020-03-26T18:54:18Z")

</div>

You could always add a text entry above the choice component and point it to the same column. If an option is not in the choice component, then the user can manually type it in. After the form is submitted, then the new entry can become part of your choices for the next time.

I have been doing this successfully.

> [@Dynamic List Creation Workaround](https://community.glideapps.com/t/dynamic-list-creation-workaround/2761):
>
> I have a relative who uses an app I made to keep track of mileage on trips. (Not GPS tracking, she just enters in the destinations and beginning and ending odometer reading.) She has some destinations for beginning and ending, but sometimes wants to add a new one. Just playing around with the choice component. I want my users to choose from a list but also be able to add to the list when they do not see what they want on the list. I have created this as my basis: [https://ojek4.glideapp.io](https://ojek4.glideapp.io) Ad…

---

<div class="post-metadata">

### Author: ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)
#### Post date: [March 27, 2020, 6:40am UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908/4 "2020-03-27T06:40:09Z")

</div>

Hi @Tim_Sullivan and @Jeff_Hager!

Thanks a lot for the ideas. Both are brilliant! I’ll probably use @Jeff_Hager’s solution and add a radio button to toggle the visibility as it is more straightforward 😁 Thanks again guys!

---

<div class="post-metadata">

### Author: ![rfel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rfel/32/5272_2.png) [@rfel](https://community.glideapps.com/u/rfel)
#### Post date: [April 15, 2020, 3:34am UTC](https://community.glideapps.com/t/add-record-from-inside-choice-component/5908/5 "2020-04-15T03:34:12Z")

</div>

Unfortunately, I can’t do a relation with the previous form. How can I achieve this?
