How to use StartValue in Thunkable X with LocalStorage


#1

Hello, Thunkers!

In this post, we’ll talk about How to implement StartValue in App

I saw many users seeking for the solution for StartValue in Thunkable X… :thinking:
So, finally, I found myself a solution and I want you all to have a look at it :grin:

So, if you want to transfer any type of value to another screen, you may try using LocalStorage for this.
I have some code blocks related to the above idea. You may take reference from them below :

Sending Start Value

image

Getting Start Value

image

Description
When we save and go to another screen, we make use of the value by ourselves, and then remove the value after our use. So, it does not populate the user’s storage.

Note: Please make sure that if you want to use the start value outside the Screen opens block, store the start value coming in a variable.

Hope this Tutorial helps you! :smile:
(This was my first tutorial, so please inform for suggestions :blush:)

Thanks!
Happy Thunking!


#2

Please feel free to post any suggestions!