# Selecting Locations to insert into a (many) relationship field

**URL:** <https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825>\
**Category:** Get Help\
**Created:** [June 28, 2022, 6:29pm UTC](https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825 "2022-06-28T18:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![djaenicke](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@djaenicke](https://forum.adalo.com/u/djaenicke)\
**Post date:** [June 28, 2022, 6:29pm UTC](https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825/1 "2022-06-28T18:29:32Z")

</div>

Hi  
I’m trying the following:

- I am creating an app where users can sign up and create multiple locations of their restaurants
- They can also add their menus and assign each ‘item’ on the menu to a restaurant
- Most menus are 80% the same but have some variation (ie: items specific to certain locations).
- When adding a new item I’d like it so the user can select which locations this item is available at. Preferably through a dropdown box or a list (i’m not fussed at this point).
- For some odd reason I cannot figure this out. I can do it via a dropdown for an item at a single location but not for many.

Please find a video attached.

Any help is greatly appreciated.

[https://dl.dropboxusercontent.com/s/z6j9602xpmyvpag/Screen%20Recording%202022-06-28%20at%2013.23.13.mov?dl=0](https://dl.dropboxusercontent.com/s/z6j9602xpmyvpag/Screen%20Recording%202022-06-28%20at%2013.23.13.mov?dl=0)

Cheers,

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [June 28, 2022, 7:05pm UTC](https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825/2 "2022-06-28T19:05:12Z")

</div>

Hi @djaenicke,

Welcome to the community 🥳

For selecting multiple things you have two options as far as I’m aware!

1. You can use the Multi-select Component. But in this component the values that user chose are not shown if that user go back and come back again to that screen where the component located.

2. You can use a list with a toggle! Check this video : [Multi Select.mp4 - Google Drive](https://drive.google.com/file/d/1quAGMNtGO-U19gzYmNiu3VJPy2wNo0M6/view?usp=sharing)

But in your case you need to create the item before you are coming to the add/edit screen. And then you can update that created item with the button. You can add that create action on the add/edit menu button. If you can’t figure out I will make a video!

Hope this helps!

Thank you

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [June 28, 2022, 11:28pm UTC](https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825/3 "2022-06-28T23:28:52Z")

</div>

Hi @djaenicke ,

I made an example of cloneable app here,

> **[Item and Location](https://yongki-team.adalo.com/item-and-location)**
>
> Built with Adalo

you can click clone button at below right corner.

This is not the right way to design database, but if it is a mean for starting then you can use it.

---

<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:** [July 8, 2022, 11:29pm UTC](https://forum.adalo.com/t/selecting-locations-to-insert-into-a-many-relationship-field/28825/4 "2022-07-08T23:29:39Z")

</div>

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