Entering a number and saving it to load on initiation of the screen

I’m trying to get the user to enter a number into a text box then save it into the tinyDB so I can reload it the next time the screen is initiated. I have a “save” button to save the number entered into the text box. I have the following blocks set up but it doesn’t seem to save the number and instead loads a string of text.

Blocks

You need to use the TextBox1.Text block in your valueToStore. Currently you are saving the component TextBox1.

1 Like