# My variable is not working correctly

**URL:** <https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851>\
**Category:** Questions about Thunkable X\
**Created:** [December 28, 2020, 2:26pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851 "2020-12-28T14:26:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![guptasgurgaond](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@guptasgurgaond](https://community.thunkable.com/u/guptasgurgaond)\
**Post date:** [December 28, 2020, 2:26pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/1 "2020-12-28T14:26:08Z")

</div>

I HAVE STORED A VALUE In a variable but i CAN NOT USE THAT VALUE ACTUALLY I AM MAKING A CHAT APP .  
PLEASE HELP HELP HELP HELP HELP HELP HELP HELP

---

<div class="post-metadata">

**Author:** ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)\
**Post date:** [December 28, 2020, 3:22pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/2 "2020-12-28T15:22:24Z")

</div>

from whitehatjr? me too!

---

<div class="post-metadata">

**Author:** ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)\
**Post date:** [December 28, 2020, 3:22pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/3 "2020-12-28T15:22:54Z")

</div>

can you please show the screen shot of the code you have used

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [December 28, 2020, 3:37pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/4 "2020-12-28T15:37:24Z")

</div>

@guptasgurgaond please do not post messages in such a manner. Please give more information, like what you have tried, screenshots, etc.

---

<div class="post-metadata">

**Author:** ![guptasgurgaond](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@guptasgurgaond](https://community.thunkable.com/u/guptasgurgaond)\
**Post date:** [December 29, 2020, 12:21pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/5 "2020-12-29T12:21:42Z")

</div>

come to this project here is the link

> **[Thunkable](https://x.thunkable.com/copy/7386db5fc96dd301ad7c88faf33fe5b4)**

and @v.krishna i am from white hat jr

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [December 29, 2020, 1:15pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/6 "2020-12-29T13:15:53Z")

</div>

So what exactly is your doubt? What do you need help with?

---

<div class="post-metadata">

**Author:** ![guptasgurgaond](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@guptasgurgaond](https://community.thunkable.com/u/guptasgurgaond)\
**Post date:** [December 29, 2020, 2:14pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/7 "2020-12-29T14:14:13Z")

</div>

looks like there is a bug bug in which u can not use you variable i want to get textpatientname text to be appeared in patient nameS . see my project just do not mess with it

---

<div class="post-metadata">

**Author:** ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)\
**Post date:** [December 29, 2020, 2:47pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/8 "2020-12-29T14:47:20Z")

</div>

i found the error and fixed it please check this - [Thunkable](https://x.thunkable.com/copy/fd2fe784930b687d2abd2ba2a3bf3e3f)

---

<div class="post-metadata">

**Author:** ![guptasgurgaond](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@guptasgurgaond](https://community.thunkable.com/u/guptasgurgaond)\
**Post date:** [December 31, 2020, 10:20am UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/9 "2020-12-31T10:20:00Z")

</div>

thanks can you tell what did you change

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [December 31, 2020, 12:08pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/10 "2020-12-31T12:08:39Z")

</div>

at times it happens for 1-2 screen on others u can see

**acordinng to my incident**

---

<div class="post-metadata">

**Author:** ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)\
**Post date:** [January 1, 2021, 3:34am UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/11 "2021-01-01T03:34:05Z")

</div>

well i did not actually notice from where the error came i was just trying to trying different - different things and it got fixed maybe because component name and variable name same? or maybe you were comparing a empty text with null thats why

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [January 1, 2021, 5:14am UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/12 "2021-01-01T05:14:18Z")

</div>

it happens if u even use any component blocks

---

<div class="post-metadata">

**Author:** ![guptasgurgaond](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@guptasgurgaond](https://community.thunkable.com/u/guptasgurgaond)\
**Post date:** [January 1, 2021, 6:11am UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/13 "2021-01-01T06:11:31Z")

</div>

ok thanks

---

<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, 12:19pm UTC](https://community.thunkable.com/t/my-variable-is-not-working-correctly/1041851/14 "2024-11-08T12:19:16Z")

</div>


