# Form with a Dropdown

**URL:** <https://forum.adalo.com/t/form-with-a-dropdown/3964>\
**Category:** Get Help\
**Created:** [September 11, 2020, 8:45am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964 "2020-09-11T08:45:33Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 11, 2020, 8:45am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/1 "2020-09-11T08:45:33Z")

</div>

Hi, do we have a way to use a drop down in a form yet to select from existing items in the database?

 ![Untitled](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/c2dc24473c61adb6e7b1d95e832fca5ecdbd220f.jpeg)

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 8:49am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/2 "2020-09-11T08:49:29Z")

</div>

You need to make a separate collection in the database and then associate it with the desired collection, and then in the form select that new collection with drop-down list.

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 11, 2020, 8:54am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/3 "2020-09-11T08:54:06Z")

</div>

Sorry can you break that down a bit more.

I have these collections:

Sites linked to Locations

I want to create a new Site, and be able to select a Location from the Locations Collection when adding a new Site

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 8:59am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/4 "2020-09-11T08:59:03Z")

</div>

As far as I understand from your screen, this is a form for adding a new site. So the collection with the location should be separate, and be tied to the table with all sites like this: site = 1 location, location = many sites. Then in the adding table you add the location field and it will already be a drop-down list.

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 9:01am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/5 "2020-09-11T09:01:31Z")

</div>

If the list is dropdown then it is visible immediately when you add it to the form.

 ![Снимок экрана 2020-09-11 в 10.59.36](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/4/434947bd074916e713563dbaa2d0526b1a835f4a.png)

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 11, 2020, 9:04am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/6 "2020-09-11T09:04:56Z")

</div>

Collections:  
Locations  
Sites

They are linked together.

When I create the form to add a new site, it only shows a text input field for Locations, not a drop down (as shown in my image above).

How sites look in the DB  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/7/70ba9d0f3f4383c3e56a4802156d1d7e808eec99.png)

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 9:14am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/7 "2020-09-11T09:14:47Z")

</div>

Make a screenshot of the entire table with sites

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 11, 2020, 9:26am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/8 "2020-09-11T09:26:50Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/f7d4067a4ecb356c6a508a63443c6ac72481a666.png)

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 9:50am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/9 "2020-09-11T09:50:07Z")

</div>

If you have a relationship between collection Dive Site and Location of Site like this “one to many”. So somewhere you are making a mistake. We have to look.

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 10:06am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/10 "2020-09-11T10:06:56Z")

</div>

Check relationships between tables

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 11, 2020, 10:13am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/11 "2020-09-11T10:13:38Z")

</div>

Relationship is there, you can see the links in the picture I posted above.

---

<div class="post-metadata">

**Author:** ![Nikolay-Puh](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nikolay-Puh](https://forum.adalo.com/u/Nikolay-Puh)\
**Post date:** [September 11, 2020, 10:17am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/12 "2020-09-11T10:17:22Z")

</div>

If you want, discard the login data, I’ll take a look, and then you change the password, or we can make a session through the teamviewer

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [September 11, 2020, 12:47pm UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/13 "2020-09-11T12:47:12Z")

</div>

In this case I would suggest not to use built-in form, but make a custom one. I’ve just tested the form with 1:many relationship - it didn’t display the dropdown as well.

@TonyD you could just add the separate input fields for Name & MapLink, and add the Dropdown for Location. For the dropdown you set MenuOptions as a Locations collection.  
And finally you create a button, and add an Action of creating new Site (or editing existing one).

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [September 12, 2020, 5:27am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/14 "2020-09-12T05:27:54Z")

</div>

I tried to make it using just components, but the create action doesn’t have an option to use the dropdown as part of the save/create in the create options.

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [September 12, 2020, 11:57am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/15 "2020-09-12T11:57:55Z")

</div>

Hi @TonyD,

That’s really strange. Seems it was a glitch / bug, which is fixed now.  
Yesterday the form didn’t allow me to have dropdown (I remember it for sure), now it works fine.

And also it is possible to add an action to the button - the hint is that you need to choose _the name_ of the select dropdown.

Please see the short video I’ve made.

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/4/4ca78cabb2b3bcc91d88f1c9631b79fb57b0f341.jpeg "adalo experiments - testing form with dropdown") ](https://www.youtube.com/watch?v=qNQXO8WyST4)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 22, 2020, 11:58am UTC](https://forum.adalo.com/t/form-with-a-dropdown/3964/16 "2020-09-22T11:58:05Z")

</div>

Closed on September 22, 2020, 11:58am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
