# Go to Screen with value

**URL:** <https://community.thunkable.com/t/go-to-screen-with-value/16312>\
**Category:** Questions about Thunkable X\
**Tags:** ios, screen\
**Created:** [February 6, 2018, 7:20am UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312 "2018-02-06T07:20:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)\
**Post date:** [February 6, 2018, 7:20am UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/1 "2018-02-06T07:20:26Z")

</div>

Hello there!  
I need help with an issue: I want to go from screen1 to screen2 and put a text to a label on screen2 (actually I want to load an image on screen2 but that does not matter:

Or for everybody to understand: On Screen 1 is a text in a label, I want to press a button next to the label and then it should go to screen2 and set a label on screen2 to the same text.

 ![Screenshot from 2018-02-06 08-02-15](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/9/94e03b0519d95fcd6cc93b96180793f40ab7ccfd.png)

![Screenshot from 2018-02-06 08-02-44](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/5/59f03312219040311b7fcf2417fe277fa0d661ea.png)

I even tried to use the clock component:

![Screenshot from 2018-02-06 08-03-59](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/6/63eaf66f0748b5053027c9e52c65f5eb90a6ac11.png)

…but was not possible!

The only thing way to do so was this (I had to click Button12 on Screen2):

![Screenshot from 2018-02-06 08-07-15](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/1/16123d490751eed44fb2a4086ec87147b08e9c3c.png)

What am I doing wrong?

Thx in advance,  
User81

---

<div class="post-metadata">

**Author:** ![losmobilos](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/losmobilos/32/11983_2.png) [@losmobilos](https://community.thunkable.com/u/losmobilos)\
**Post date:** [February 6, 2018, 4:27pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/2 "2018-02-06T16:27:52Z")

</div>

As far as I can tell the Screen.Starts block only runs when the app is loaded.

The lack of communicating between screens is not good…

I made a REFRESH button on the consumer screen - but that is not a good solution. Timers can work - but it seems that concurrency issues show up when writing to a database on one screen while reading from the same database on another screen (e.g. when the app loads).

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [February 6, 2018, 5:09pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/3 "2018-02-06T17:09:18Z")

</div>

My solution is to change screens with DrawerNavigator. That works. When the Navigator starts the screen, data is correct transferred with local storage.  
Would that help?

---

<div class="post-metadata">

**Author:** ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)\
**Post date:** [February 6, 2018, 5:54pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/4 "2018-02-06T17:54:53Z")

</div>

thx @losmobilos and @rollke for your reply 😀🤗🤗. that saves me a lot of testing.  
I will check the Solution with the drawerNavigator later on.

What else could be a thing to consider, is to build a one-screen-app. this was the way to go in nearly every thunkable-android-app I made, because Screen-Switching always had bad implications.  
Maybe some of the developers can make a statement on this?!

cheers,  
User81

---

<div class="post-metadata">

**Author:** ![losmobilos](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/losmobilos/32/11983_2.png) [@losmobilos](https://community.thunkable.com/u/losmobilos)\
**Post date:** [February 6, 2018, 7:03pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/5 "2018-02-06T19:03:36Z")

</div>

Sadly it does not work with the tab navigator.

Maybe that could be fixed?

---

<div class="post-metadata">

**Author:** ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)\
**Post date:** [February 6, 2018, 11:15pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/6 "2018-02-06T23:15:18Z")

</div>

All good things come in threes… Finally the StackNavigator was the perfect solution for me:  
I was able to send values with using the LocalStorage from one screen to another.

![Screenshot from 2018-02-06 23-29-43](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/7/79ba985f6c59686fe8fa1d96ce120ffdd60440a6.png)

Thank you guys once again for your support and of course big hand for developer of StackNavigator 😃!!!

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [February 7, 2018, 3:42pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/7 "2018-02-07T15:42:00Z")

</div>

Here is a small test app for screens. Starting with a start screen you can change screens with a DrawerNavigator. Each screen stores its name and tells from which screen it was chosen.

The link to the shared app:

[https://ios.thunkable.com/copy/5a7b1bf4fe688200013af94b](https://ios.thunkable.com/copy/5a7b1bf4fe688200013af94b)

![28](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/0/0b85fb3825f09fa405e7475230db9c1c51365460.png)  
 ![22](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/c/c7993470f4ad6803c1acef2cc6920229e6505c47.png)  
 ![05](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/a/af47758d407c0d189920b7d407210ff6d597b00e.png)

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [February 7, 2018, 5:14pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/8 "2018-02-07T17:14:14Z")

</div>

Same test with TabNavigator and StackNavigator does not work…

Question to the Thunkable Team: Do these Navigators trigger Start-events to screens when changed?

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [February 7, 2018, 6:59pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/9 "2018-02-07T18:59:32Z")

</div>

Thanks thunksters for pointing out this bug! We’re sorry for the trouble that it has caused. We have noted the issue and have placed the bug in our queue to be fixed.

-Mark

---

<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:04pm UTC](https://community.thunkable.com/t/go-to-screen-with-value/16312/10 "2024-11-08T12:04:35Z")

</div>


