# Only show screen when there is not data in local storage

**URL:** https://community.thunkable.com/t/only-show-screen-when-there-is-not-data-in-local-storage/563315
**Category:** Questions about Thunkable X
**Tags:** database, design, beginner
**Created:** [April 13, 2020, 3:12pm UTC](https://community.thunkable.com/t/only-show-screen-when-there-is-not-data-in-local-storage/563315 "2020-04-13T15:12:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![16josephsrgz](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/16josephsrgz/32/61177_2.png) [@16josephsrgz](https://community.thunkable.com/u/16josephsrgz)
#### Post date: [April 13, 2020, 3:12pm UTC](https://community.thunkable.com/t/only-show-screen-when-there-is-not-data-in-local-storage/563315/1 "2020-04-13T15:12:11Z")

</div>

Hi there!

In my app, I am storing a number inputed in to text input by the user, and I am showing that on a label, but I would like to know how to only navigate to a screen if the user has not yet entered a number into the text input, so there is nothing in the local storage.

Specifically to my app, the user is asked to set them-self a goal of how many books they want to read and if they have already entered the goal, they go straight to the “YearGoalProgress” screen, but if they haven’t entered a goal, when they try to go to that screen, they are transferred to the “YearGoal” where they enter their goal and get sent to the progress page.

Here is the link to the project (it’s a bit of a mess atm, because I was trying to solve different problems):  
[https://x.thunkable.com/projects/5e6513c77a4b2de9f2bb8626](https://x.thunkable.com/projects/5e6513c77a4b2de9f2bb8626)

Thank you in advance for your help 🙂

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 13, 2020, 4:53pm UTC](https://community.thunkable.com/t/only-show-screen-when-there-is-not-data-in-local-storage/563315/2 "2020-04-13T16:53:35Z")

</div>

> [@16josephsrgz](#):
>
> navigate to a screen if the user has not yet entered a number into the text input, so there is nothing in the local storage.

so, therefore, if the user has entered a value, they can’t go back to that screen?

---

<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:39am UTC](https://community.thunkable.com/t/only-show-screen-when-there-is-not-data-in-local-storage/563315/3 "2024-11-08T11:39:04Z")

</div>


