# Search Text using Text Input

**URL:** <https://community.thunkable.com/t/search-text-using-text-input/2125538>\
**Category:** Questions about Thunkable X\
**Created:** [November 10, 2022, 8:09pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538 "2022-11-10T20:09:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![junius619e97joi](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@junius619e97joi](https://community.thunkable.com/u/junius619e97joi)\
**Post date:** [November 10, 2022, 8:09pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/1 "2022-11-10T20:09:15Z")

</div>

Hi Just wanted to ask for help regarding on how to create text search using data list, I am using google sheet as my data base and I connected it on my data list to display text, I wanted to use the text field to search item on the data list when i input a word on it.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [November 22, 2022, 11:36am UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/2 "2022-11-22T11:36:48Z")

</div>

See this  
[https://x.thunkable.com/projects/600c2ce7f153060012143ac4/b40bf28f-a8ca-4dc4-8797-17d8c03da38f/designer](https://x.thunkable.com/projects/600c2ce7f153060012143ac4/b40bf28f-a8ca-4dc4-8797-17d8c03da38f/designer)

---

<div class="post-metadata">

**Author:** ![junius619e97joi](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@junius619e97joi](https://community.thunkable.com/u/junius619e97joi)\
**Post date:** [December 28, 2022, 1:45pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/3 "2022-12-28T13:45:24Z")

</div>

Hi I wanted it that so If i type something on my text field it will be searched on the data viewer list

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 28, 2022, 2:04pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/4 "2022-12-28T14:04:10Z")

</div>

> [@Add a search bar to your app](https://community.thunkable.com/t/add-a-search-bar-to-your-app/1891129):
>
> Screenshot/video: Project link: [Project Link](https://x.thunkable.com/projectPage/628bd524513ab30012815a49) Purpose/description: A search bar is a nice to have feature for many apps. At first, they can be tough to figure out. This should get you started. Be aware, by incorporating further (not discussed here) technologies, you can have even faster/more advanced searches. (e.g. Xano / Algolia / Elastisearch) Goes well with: Any kind of app in which a user must search through a list of other things greater than 10-20 items.

please search the community before posting

---

<div class="post-metadata">

**Author:** ![junius619e97joi](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@junius619e97joi](https://community.thunkable.com/u/junius619e97joi)\
**Post date:** [January 5, 2023, 4:28pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/5 "2023-01-05T16:28:06Z")

</div>

Is it possible to include the image when using the search in data viewer list? As for example here, I want to search for the word red and when i search it it will return the data red and hide the other. And btw, I am using googlesheets as my DB on this. As it has a lot of things to list, so I cannot go on and type it 1 by 1.

![colordds](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/0/b0da2639c88a97fe3c5095acdf8aa54a04153699.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 7, 2023, 6:05pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/6 "2023-01-07T18:05:15Z")

</div>

You can use two data viewer lists (DVLs) and two data sources. The first DVL would hold all of your data as in your screenshot. The second DVL would be hidden and the second data source would be blank. When a user taps on an item in the first DVL, you delete all rows in the second data source (in case it has any data from before) and add that item to the second data source. Then you show the second DVL and hide the first DVL. If you are switching screens then when the main screen opens, show the first DVL and hide the second DVL.

---

<div class="post-metadata">

**Author:** ![junius619e97joi](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@junius619e97joi](https://community.thunkable.com/u/junius619e97joi)\
**Post date:** [January 8, 2023, 9:12am UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/7 "2023-01-08T09:12:37Z")

</div>

I was wondering if that will work on a collapsing search thingy IE. when you’re doing search and you search red it will only display red and do not display others. I was thinking while searching the search bar will only this display the stuff i search and hide the others. And regarding about what you suggested, I cant think of how I can do that, As I am new to thunking.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 8, 2023, 3:49pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/8 "2023-01-08T15:49:12Z")

</div>

Yes, it works in a similar way. But if you want live search results you delete all rows and then create rows for any values that match the search terms each time the text input changes.

You can achieve the same effect with a single DVL by showing rows that match and hiding row that do not. But it’s a little complicated and doesn’t always work for some reason.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 8, 2023, 3:49pm UTC](https://community.thunkable.com/t/search-text-using-text-input/2125538/9 "2023-04-08T15:49:18Z")

</div>

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