> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/how-to/how-to-create-a-search-bar.md).

# How to Create a Search Bar

Searching within a list is a very commonly used app feature— with Adalo, you can implement this function in just a few easy steps.

To get started, it will be easiest if you already have your database collections setup. For this tutorial, you will need one database collection called “Friends.” Inside of the collection, you need two properties: a text field for “name” and an image field for the collection. Inside of the collection, you will need to add records. These records will be criteria that the user can search within your app. We’ve added 6 records of names and images, but you can add however many you would like.

{% embed url="<https://youtu.be/1uyIeShAfQ4>" %}

1. Navigate back to the Adalo Canvas and once you open the left panel, you will search “search list” under “Add Screen.” Drag that screen onto the \_\_\_\_\_.
2. Click on the simple list on the app screen then navigate to the left panel. Under the first dropdown, choose your Database Collection called “Friends” to bind the list and the database together.
3. Scroll down to filter and click “add another filter”
4. Select “Name” then “Contains” then “Form Inputs > Search Term” - this will allow everything within your Database Collections to be displayed and the search results displayed as the user is typing.
5. Scroll down to the bottom of the left panel and once you click on Subtitle, click the slider on the right side to turn it off.
6. Next, go to preview your app and test it out!

\
You just added Search to your Adalo app! 🎉\
Cloneable App! 👀 → [Link](https://previewer.adalo.com/763aa3a8-bf22-41ff-be15-2db992e04f1c)<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.adalo.com/how-to/how-to-create-a-search-bar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
