# Search Item from list not working?

**URL:** https://community.thunkable.com/t/search-item-from-list-not-working/2107346
**Category:** Questions about Thunkable X
**Created:** [November 1, 2022, 2:22am UTC](https://community.thunkable.com/t/search-item-from-list-not-working/2107346 "2022-11-01T02:22:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![www.hanstopzl](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/www.hanstopzl/32/138892_2.png) [@www.hanstopzl](https://community.thunkable.com/u/www.hanstopzl)
#### Post date: [November 1, 2022, 2:22am UTC](https://community.thunkable.com/t/search-item-from-list-not-working/2107346/1 "2022-11-01T02:22:28Z")

</div>

Let me explain a bit of my block… (Tic tac toe game)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/1/c171356568f97b71e3e1bf43f343a6577af98919.png)  
\*Make the variable with list item

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f791354fe09bc19d5fab829964bb1ef959a8aece.png)  
\*Replacing item in list with X and O

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/3/c33862c7d97e3cd525e1417056e4adf50845e73a.png)  
\*Tried to check if there is X or O in list then compare with \< and \>

I think the logic here is correct, and I do searched some guide from other people post, but it does not seems to work… can anyone help me?  
I want to check if there is X and O in BoardCoor list and then compare X and O. Please help…

---

<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 1, 2022, 5:49am UTC](https://community.thunkable.com/t/search-item-from-list-not-working/2107346/2 "2022-11-01T05:49:45Z")

</div>

There are a lot of missing info in your post which makes it very difficult to see it this really works.

You are using `component` green block but you are not showing where you get it from.

In the last image you are using `does list .... contain` and you are placing another list component inside it which will prevent it from working.

---

<div class="post-metadata">

### Author: ![proximilius](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/proximilius/32/140171_2.png) [@proximilius](https://community.thunkable.com/u/proximilius)
#### Post date: [November 1, 2022, 9:49am UTC](https://community.thunkable.com/t/search-item-from-list-not-working/2107346/3 "2022-11-01T09:49:23Z")

</div>

See image below for Muneer’s second sugestion. That should solve the problem.  
 ![list not working solution](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/a/1a094c9614b2ffcba0a768a4c34b24eecf92ec5a.png)

---

<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: [January 30, 2023, 9:50am UTC](https://community.thunkable.com/t/search-item-from-list-not-working/2107346/4 "2023-01-30T09:50:07Z")

</div>

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