# Serch bar text input problem

**URL:** <https://community.thunkable.com/t/serch-bar-text-input-problem/2266937>\
**Category:** Questions about Thunkable X\
**Created:** [February 8, 2023, 4:09pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937 "2023-02-08T16:09:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinhangyu](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kinhangyu](https://community.thunkable.com/u/kinhangyu)\
**Post date:** [February 8, 2023, 4:09pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/1 "2023-02-08T16:09:10Z")

</div>

I do the search bar for serching the text to navigate to specified page. For example i enter the txt input = 123 then to navigate to 123 page, now i have a question. Can i enter more then one text options in the program code to help me to navigate to page?

For example: i enter the text number CEN / cen two text, it can navigate me to Central page. I attach the code to show you now my search bar code for your reference, thank you  
 ![123123](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f07faf0c2f9ee859f39d183cbf7fa329de42da1.png)

---

<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:** [February 8, 2023, 4:50pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/2 "2023-02-08T16:50:36Z")

</div>

You can use a list viewer with the names of the screens and then when the user clicks on an item in the list viewer, you can navigate to that item’s value.

---

<div class="post-metadata">

**Author:** ![kinhangyu](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kinhangyu](https://community.thunkable.com/u/kinhangyu)\
**Post date:** [February 8, 2023, 5:05pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/3 "2023-02-08T17:05:14Z")

</div>

I mean is i can enter more then one option text in the text input block? please look my attach photo the place circled in the picture

---

<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:** [February 8, 2023, 7:11pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/4 "2023-02-08T19:11:43Z")

</div>

I’m not sure I understand. But if you want to check if the Text Input’s value is equal to several other values, yes, you can do that with the OR block in the Logic drawer: [Logic - Thunkable Docs](https://docs.thunkable.com/logic#and-or-blocks)

If that doesn’t answer your question, please provide an example of the types of values you are wanting to check.

---

<div class="post-metadata">

**Author:** ![kinhangyu](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kinhangyu](https://community.thunkable.com/u/kinhangyu)\
**Post date:** [February 8, 2023, 8:46pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/5 "2023-02-08T20:46:33Z")

</div>

If i use the And/Or block, i can’t put the text block in the And/Or block  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/c/fc2eb12678a9f6bcf2f53a50d459c1e6cb074674.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/d/6dcffc99712b698c700ed7dcb9316f99e4ce4c0a.png)

---

<div class="post-metadata">

**Author:** ![kinhangyu](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kinhangyu](https://community.thunkable.com/u/kinhangyu)\
**Post date:** [February 8, 2023, 8:49pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/6 "2023-02-08T20:49:27Z")

</div>

i mean I use the block to enter matching text to search, if i enter tally text will navigate to specify page

---

<div class="post-metadata">

**Author:** ![kinhangyu](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kinhangyu](https://community.thunkable.com/u/kinhangyu)\
**Post date:** [February 9, 2023, 2:12pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/7 "2023-02-09T14:12:10Z")

</div>

hi,can i use this block to make text with a given delimiter for my search bar text?  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/5/d5c02320531ec562ca175e5c3e5778e76daf1ad0.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:** [February 9, 2023, 3:17pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/8 "2023-02-09T15:17:20Z")

</div>

You have to use the equals (=) block from the Logic drawer. See this: [Logic - Thunkable Docs](https://docs.thunkable.com/logic#comparison-blocks)

So you would check if Text Input’s Text = “CEN” [or] Text Input’s Text = “PAC”

But if you are navigating to other screens, you probably don’t want to use the [or] block. Instead, you can use an [If/Else] block or just stack multiple [If] blocks. Click the gear symbol in the [If] block to add [Else].

---

<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:** [February 9, 2023, 3:18pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/9 "2023-02-09T15:18:03Z")

</div>

> [@kinhangyu](#):
>
> hi,can i use this block to make text with a given delimiter for my search bar text?

It’s hard to know without a specific example from you.

---

<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:** [May 10, 2023, 3:18pm UTC](https://community.thunkable.com/t/serch-bar-text-input-problem/2266937/10 "2023-05-10T15:18:46Z")

</div>

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