# How to passing value to another screen?

**URL:** <https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475>\
**Category:** Questions about Thunkable X\
**Created:** [August 21, 2018, 2:50pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475 "2018-08-21T14:50:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Forprograme\_Thunkabl](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@Forprograme\_Thunkabl](https://community.thunkable.com/u/Forprograme_Thunkabl)\
**Post date:** [August 21, 2018, 2:50pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/1 "2018-08-21T14:50:21Z")

</div>

![39905930_281851519071792_7899800177223925760_n](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/e/1eb20910180ac4987a947a2d7e812a3588b7c93e.png)  
I want to pass value from current screen to another screen. In thunkable classic has code in this picture but thunkable x not has. Please someone help me to solve this problem.

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [August 21, 2018, 3:48pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/2 "2018-08-21T15:48:48Z")

</div>

In Thunkable X you have to store your value in a Local Storage (save) and when you open the other screen you call the same Local Storage (get) and you’ll have your value.  
Hope it helps !  
Nice day 🙂

---

<div class="post-metadata">

**Author:** ![Forprograme\_Thunkabl](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@Forprograme\_Thunkabl](https://community.thunkable.com/u/Forprograme_Thunkabl)\
**Post date:** [August 22, 2018, 7:15am UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/3 "2018-08-22T07:15:05Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [August 22, 2018, 4:39pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/4 "2018-08-22T16:39:54Z")

</div>

No problem !  
Nice day 🙂

---

<div class="post-metadata">

**Author:** ![Mario\_Cesar\_Berardo](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Mario\_Cesar\_Berardo](https://community.thunkable.com/u/Mario_Cesar_Berardo)\
**Post date:** [August 23, 2018, 2:30pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/5 "2018-08-23T14:30:38Z")

</div>

Thunkable X is reactNative bases…so, its a little diferent than thunkable classic

---

<div class="post-metadata">

**Author:** ![RelapseDev](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/relapsedev/32/24765_2.png) [@RelapseDev](https://community.thunkable.com/u/RelapseDev)\
**Post date:** [September 5, 2018, 7:14pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/6 "2018-09-05T19:14:36Z")

</div>

This doesn’t seem to work for me.

It works when I only have one variable to store. Then I can pull it up on the next screen. But when I create a second local storage with a second key, it overwrites the first one. Bug?

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [September 9, 2018, 7:59pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/7 "2018-09-09T19:59:32Z")

</div>

If you set a different tagname it is working my project has this and is working fine

---

<div class="post-metadata">

**Author:** ![RelapseDev](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/relapsedev/32/24765_2.png) [@RelapseDev](https://community.thunkable.com/u/RelapseDev)\
**Post date:** [September 10, 2018, 8:37pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/8 "2018-09-10T20:37:46Z")

</div>

I think I figured this out- I was using a variable instead of a string as the key. Seems to work now- but I have another problem. I want to assign the value I get from LocalStorage to a variable, without having to call the LocalStorage.get block every time. I just want to call it once and then assign it to a variable at the top of the new screen. Then use the variable as normal. But it doesn’t work- if I don’t do all of the operations on the value inside of the LocalStorage.get under (then.do), it just doesn’t work. What’s the point of getting a value from another screen if I can’t assign that value to a new variable on the next screen and then do whatever I want with it?

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [September 10, 2018, 8:49pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/9 "2018-09-10T20:49:13Z")

</div>

May you share the blocks ? It’s supposed to work

---

<div class="post-metadata">

**Author:** ![RelapseDev](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/relapsedev/32/24765_2.png) [@RelapseDev](https://community.thunkable.com/u/RelapseDev)\
**Post date:** [September 10, 2018, 10:24pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/10 "2018-09-10T22:24:20Z")

</div>

![27%20PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/0/601d4f09fbd2ced2560f34abd289d8ebef6dc1b2.png)

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [September 10, 2018, 10:37pm UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/11 "2018-09-10T22:37:07Z")

</div>

Are you sure the value is a number ? Otherwise try just using the “enterednumber” variable and set the variable to “value + 1” directly in the get of localstorage

---

<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, 11:59am UTC](https://community.thunkable.com/t/how-to-passing-value-to-another-screen/42475/12 "2024-11-08T11:59:44Z")

</div>


