# \[Solved\] Variable value disappears after navigating to next screen

**URL:** https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455
**Category:** Questions about Thunkable X
**Tags:** solved
**Created:** [July 24, 2020, 12:12am UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455 "2020-07-24T00:12:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)
#### Post date: [July 24, 2020, 12:12am UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/1 "2020-07-24T00:12:35Z")

</div>

I have a screen on which the user defines a variable value with a slide button. Then the user taps OK to navigate away from that screen to the next in line. But, arriving at the new screen, the value set by the user is gone.

So, on the “value select screen” I put in a test label to display the value the user selected. The variable shows up correctly as expected and changes as expected according to the 4 slide switch options available. Then I put a test label on the next screen to verify that the variable was accessible across both screens. This label displayed no value at all. Just blank.

Because this has helped in the past, I went to the blocks and changed all instances of the variable name to an alternate name on the variable menu, and then back to the intended name (which was still on the menu). Now, I got a zero value showing up, rather than a blank, it was still not the value set by the user in the previous screen.

I have several other variables which successfully/reliably maintain their values between screen changes, so this has me stumped.

Can anyone suggest other debugging measures I can take?

Thx 🙂

---

<div class="post-metadata">

### Author: ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)
#### Post date: [July 24, 2020, 5:18am UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/2 "2020-07-24T05:18:27Z")

</div>

I too experienced this anomaly on V2.05.  
The issue was not consistent and appears to remedy itself on every second reload after removing app data. I have put this down to just one of the numerous issues we are having with the new revisions.

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [July 24, 2020, 5:40am UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/3 "2020-07-24T05:40:24Z")

</div>

I have the same issue just today. but it was on webapp. Yours was on the phone?

---

<div class="post-metadata">

### Author: ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)
#### Post date: [July 24, 2020, 5:53am UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/4 "2020-07-24T05:53:20Z")

</div>

This occurs in Live and new Preview on PC, and I have not been able to download an iOS version yet (could not even get in the queue).

---

<div class="post-metadata">

### Author: ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)
#### Post date: [July 24, 2020, 12:21pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/5 "2020-07-24T12:21:34Z")

</div>

My issues with variables between screens was on the phone.

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [July 24, 2020, 2:19pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/6 "2020-07-24T14:19:37Z")

</div>

Update: I downloaded V205. Now the variables cannot be used across screens for both wepapp and also live test on phone.

---

<div class="post-metadata">

### Author: ![darren](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/darren/32/69854_2.png) [@darren](https://community.thunkable.com/u/darren)
#### Post date: [July 24, 2020, 2:42pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/7 "2020-07-24T14:42:44Z")

</div>

I’m seeing some weird behavior with `app` level variables not being updated in some places. Here is a simple example: [https://x.thunkable.com/copy/5342a5845580e4ba8b8c12f4b14b463b](https://x.thunkable.com/copy/5342a5845580e4ba8b8c12f4b14b463b)

Again this is specific to the Web Preview/Published. Reported here:

> <https://github.com/thunkable/thunkable-issues/issues/610>
>
> Platform
> ✕ Web App
> Steps to Reproduce
> https://x.thunkable.com/copy/5342a5845580e4ba8b8c12f4b14b463b
> Launch in Web Preview
> Look at Label
> Expected Behavior
> Should show Changed Value
> Actual Behavior
> Shows Initial Value

I also noticed every screen seems to open up twice which makes it look glitchy.

---

<div class="post-metadata">

### Author: ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)
#### Post date: [July 24, 2020, 2:55pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/8 "2020-07-24T14:55:57Z")

</div>

Darren, your tutorials are excellent. I’m a fan.  
I have been putting in all manner of labels to monitor variables and can’t get anywhere. I was convinced it was my blocks causing the problem but I’ve been over them so many times now that I was about ready to give up my nascent Thunkable hobby. You have given me hope.  
🙂

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 3:04pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/9 "2020-07-24T15:04:01Z")

</div>

@penny @darren @gobassky @eddie.rebehy just letting you know that we’re taking a closer look at this. Darren has already provided a thorough report, but to help us resolve the issue as quickly as possible could you let us know:

Are you live testing or installing your projects?  
Are you using Android or iOS?

Also, if you can create a really simple example project that reproduces this behaviour that would be super-helpful too!

Thank you!!!

---

<div class="post-metadata">

### Author: ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)
#### Post date: [July 24, 2020, 5:36pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/10 "2020-07-24T17:36:42Z")

</div>

Hi Domhnall,

I can’t do the mini app right now but this is happening in Live, and Preview for me. I have still been unable to get an app into the queue for iOS build. The server is too busy.

🙂

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 5:38pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/11 "2020-07-24T17:38:40Z")

</div>

Can you take a few screenshots maybe @penny?

Thanks

---

<div class="post-metadata">

### Author: ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)
#### Post date: [July 24, 2020, 5:31pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/12 "2020-07-24T17:31:52Z")

</div>

Since the new update today  
The Display screen app variables is missing blank.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 5:34pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/13 "2020-07-24T17:34:50Z")

</div>

> [@kizzy](#):
>
> The Display screen app variables is missing blank.

Hey @kizzy - I’m not entirely sure what you mean by this.

Can you share some screenshots please, or some instructions on how we can reproduce this behaviour in our own tests?

Thanks.

---

<div class="post-metadata">

### Author: ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)
#### Post date: [July 24, 2020, 5:41pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/14 "2020-07-24T17:41:15Z")

</div>

[https://x.thunkable.com/projectPage/5ea1744cb8de1849436151db](https://x.thunkable.com/projectPage/5ea1744cb8de1849436151db)

you can see the display screen is blank same with my app on android live app 205 not the ios 203 version

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 6:24pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/15 "2020-07-24T18:24:33Z")

</div>

Ah yes…got it now, thanks @kizzy.

This app uses variables on the second screen to access the relevant data from the Data Viewer.

 ![app variables](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/0/d05a5737f7d7dc694f52e413f61e8108162409ce.png)

I’m going to move this here, since this is a variables issue and not a Data Viewer issue. 😄

---

<div class="post-metadata">

### Author: ![jens12341234](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jens12341234](https://community.thunkable.com/u/jens12341234)
#### Post date: [July 24, 2020, 6:45pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/16 "2020-07-24T18:45:26Z")

</div>

I’m using the Live test on IOS and here you can look at my project: [https://x.thunkable.com/projects/5f1b130a4e7b0710565676b8/e3b47783-d0fa-4cac-a377-e1ef4e8f079a/designer](https://x.thunkable.com/projects/5f1b130a4e7b0710565676b8/e3b47783-d0fa-4cac-a377-e1ef4e8f079a/designer)

---

<div class="post-metadata">

### Author: ![Ironchorch\_Yo](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ironchorch\_Yo](https://community.thunkable.com/u/Ironchorch_Yo)
#### Post date: [July 24, 2020, 7:20pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/17 "2020-07-24T19:20:59Z")

</div>

Same issue here, if you need access to a project with the variables problem, let me know so I can share one of mine 👍

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 8:46pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/18 "2020-07-24T20:46:18Z")

</div>

Thanks @jens12341234 @Ironchorch_Yo - we’ve identified the source of the problem, working on a fix for this now!

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 24, 2020, 10:36pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/19 "2020-07-24T22:36:42Z")

</div>

3 posts were split to a new topic: [What happens if I delete a Data Source](https://community.thunkable.com/t/what-happens-if-i-delete-a-data-source/700366)

---

<div class="post-metadata">

### Author: ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)
#### Post date: [July 24, 2020, 9:26pm UTC](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455/21 "2020-07-24T21:26:49Z")

</div>

hi @domhnallohanlon  
Android live testing.

yesterday, after being perplexed for a while I actually did create a simple two screen single variable app but could NOT reproduce the error.

after returning to my project app, the error seemed to only reappear on the first opening after clearing app data. hope that helps. With a refresh of data and opening app after initialising, all seems well.

[Next page](https://community.thunkable.com/t/solved-variable-value-disappears-after-navigating-to-next-screen/698455.md?page=2)
