# Dynamically add new values in dropdown input field

**URL:** <https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422>\
**Category:** Ask for Help\
**Created:** [May 27, 2022, 12:03am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422 "2022-05-27T00:03:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aseem\_Agarwal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aseem_agarwal/32/38677_2.png) [@Aseem\_Agarwal](https://community.glideapps.com/u/Aseem_Agarwal)\
**Post date:** [May 27, 2022, 12:03am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/1 "2022-05-27T00:03:26Z")

</div>

Hi

I have a table which basically acts as a source of dropdown for one of the forms in my app.  
Although, I want the user to select an existing value from the dropdown when filling the form, I also want them to add a new value if what they are looking for doesn’t exist.

I tried to add another text input and write it to the same column, but unfortunately it wouldn’t allow it.

Anyone has any idea as to how this can be done ?

* * *

Aseem

---

<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:** [May 27, 2022, 2:15am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/2 "2022-05-27T02:15:54Z")

</div>

You will see a warning that two components are writing to the same column, but it will still work. I’ve used that method a few times.

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 27, 2022, 3:10am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/3 "2022-05-27T03:10:21Z")

</div>

> [@Aseem\_Agarwal](#):
>
> add a new value if what they are looking for doesn’t exist.

As @Jeff_Hager said, it will work writing to the same column, but could be confusing to the user if they see both components; and you need to answer the question, “Do I want to allow values that are not part of the choice component in the table?” In other words, do you want the random value they enter to be part of the choices for future entries? If not, then that will do. If you need those values to be available for future entries (and to standardize statistics and reports), then you may want to have a relation to the selection table based on the entry column, and in a custom action when writing/updating the row, also do a write to the selection table if the relation is empty (in other words, they entered a value not already in the selection list).

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [May 27, 2022, 3:20am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/4 "2022-05-27T03:20:04Z")

</div>

Here’s what @David_Gabler is explaining:

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/3/63f01207cb1e039648c302a7371a9fa18b262e47.jpeg "Glide: Append ANY CHOICE LIST after completing a form AUTOMATICALLY") ](https://www.youtube.com/watch?v=RyiOxzsN9N4)

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 27, 2022, 3:24am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/5 "2022-05-27T03:24:03Z")

</div>

The tagline used to be “There’s an app for that”. Now, with @Robert_Petitto , the tagline is, “There’s a vid for that!”

I love it!

---

<div class="post-metadata">

**Author:** ![Ken13](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ken13/32/60379_2.png) [@Ken13](https://community.glideapps.com/u/Ken13)\
**Post date:** [December 21, 2023, 12:46am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/6 "2023-12-21T00:46:25Z")

</div>

Hey @Robert_Petitto (or others)!

Running into a similar but slightly different issue, and wondering if there is a work around or added functionality since this was discussed.

I have a bunch of different dropdown lists within my application that I keep within my own ‘Drop Down’ sheet. I have them organized in columns though and not rows. Is there a way to add ‘Other’ inputs to the columns? Hope this makes sense, let me know if I any clarification is helpful. Thanks!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 21, 2023, 3:13am UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/7 "2023-12-21T03:13:05Z")

</div>

Ya…no great way to handle “Other”. What I typically do is have an Other value in the list and a completely separate Other \_\_\_ field in the form that only shows up when they’ve selected other.

Like this:  
 ![CleanShot 2023-12-20 at 22.12.36](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/d/1d7d4b22d991d2e8e7305991dfb000b3752b05d1.gif)

---

<div class="post-metadata">

**Author:** ![Ken13](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ken13/32/60379_2.png) [@Ken13](https://community.glideapps.com/u/Ken13)\
**Post date:** [December 21, 2023, 7:52pm UTC](https://community.glideapps.com/t/dynamically-add-new-values-in-dropdown-input-field/42422/8 "2023-12-21T19:52:41Z")

</div>

Thanks Robert!

I have something similar built in my app. I think I figured out a way to accomplish what I’m looking for. I made an ‘On Submit’ action when the ‘Other’ field is filled out it adds a row under and adds the value to the corresponding ‘Dropdown’ list
