# How to show list based on form input?

**URL:** <https://forum.adalo.com/t/how-to-show-list-based-on-form-input/12314>\
**Category:** Database\
**Created:** [May 6, 2021, 5:00pm UTC](https://forum.adalo.com/t/how-to-show-list-based-on-form-input/12314 "2021-05-06T17:00:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikikumar15](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/nikikumar15/32/8163_2.png) [@nikikumar15](https://forum.adalo.com/u/nikikumar15)\
**Post date:** [May 6, 2021, 5:00pm UTC](https://forum.adalo.com/t/how-to-show-list-based-on-form-input/12314/1 "2021-05-06T17:00:53Z")

</div>

I am trying to build a food delivery app, I have created a screen where people can choose area name. These area names are already in my database. So the respective restaurants to be shown in the homepage as per the area chosen. How should i do this?

---

<div class="post-metadata">

**Author:** ![ishantanusrivastava](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ishantanusrivastava/32/34947_2.png) [@ishantanusrivastava](https://forum.adalo.com/u/ishantanusrivastava)\
**Post date:** [May 7, 2021, 2:16pm UTC](https://forum.adalo.com/t/how-to-show-list-based-on-form-input/12314/2 "2021-05-07T14:16:21Z")

</div>

Hi,

You need to create a relationships

1. Create a relationship between area collection & users collection
2. Create a relationship between area collection & food/restaurant collection
3. Then on the list apply filter - Current food/restaurant \> area name `contains` Logged in the user area name

Hope this helps
