# Can't connect Text Input block to If block

**URL:** <https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305>\
**Category:** Questions about Thunkable X\
**Created:** [July 14, 2021, 3:28pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305 "2021-07-14T15:28:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leo\_2008](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@leo\_2008](https://community.thunkable.com/u/leo_2008)\
**Post date:** [July 14, 2021, 3:28pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/1 "2021-07-14T15:28:00Z")

</div>

guys I don’t know why I am facing an issue to connect a text input block to a if command only I am able to connect the text block to the other blocks The below Images describe it well so could you pls help me with it :  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/2/a29b9358a0ee56bd0f8af07191cea2811418f86a.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/401ac81e9c34045e21dca5544d24293256266700.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:** [July 14, 2021, 3:29pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/2 "2021-07-14T15:29:57Z")

</div>

The `if` block expects a value of true or false. A text string (as far as I know) can’t have either of those values (typically 1 or 0). So you need a logic block such as `=` or `is empty` to check if the text is equal to a value. What are you wanting to check there?

---

<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:** [July 14, 2021, 3:58pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/3 "2021-07-14T15:58:04Z")

</div>

You can do this way if you want to check the `text label` has something or not  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/6916626091ad36a1624983b83d2feda30ac2aba0.png)

---

<div class="post-metadata">

**Author:** ![leo\_2008](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@leo\_2008](https://community.thunkable.com/u/leo_2008)\
**Post date:** [July 14, 2021, 4:50pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/4 "2021-07-14T16:50:47Z")

</div>

Oh thanks @muneer

---

<div class="post-metadata">

**Author:** ![jonathonschnoor6x4b5](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jonathonschnoor6x4b5/32/112262_2.png) [@jonathonschnoor6x4b5](https://community.thunkable.com/u/jonathonschnoor6x4b5)\
**Post date:** [July 14, 2021, 6:33pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/5 "2021-07-14T18:33:22Z")

</div>

Think about it like you’re talking.

If (something happens), you need to do:  
In this case, you are trying to say:  
If [insert random word], you need to do:  
You should try to do:  
If there is text, you need to do:

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:19pm UTC](https://community.thunkable.com/t/cant-connect-text-input-block-to-if-block/1396305/6 "2024-11-08T13:19:43Z")

</div>


