What you see here is,
-when i get value from previous screen, it displays its value and store it via TinyDB
-then when i close the app, the values will be saved
-last is when i open the apps, the values are still there…
BUT, i still couldn’d figure this out.
Special thanks to @dora_paz , @Still-learning, and everyone who taught me about the things i want to know…
Thank you so much guys. Hope you’ll be patient long enough for me to learn everything… God bless y’all.
player_name is the text i want to save when the app closes…
i got the value or the name from previous screen, which i stored in tiny_DB1…
that’s why i was trying to get the value, but every time the app re opens, the value is gone… and i cannot input anymore since i set it to only once when the app is opened for the first time
do not try to save at the time of closing… Once player started to play the quiz, however he might have entered his name some where, so in that place it self just save it… and you can take it at any time. no need to save the name again at naywhere
@Jae_Escarro The problem was that you were comparing Empty string from number that gave you the error…
What I fixed : Compared Number from Number,…
If you found that helpful, you may mark that as solution…
@dora_paz Thanks for figuring out that… and adding that to my knowledge,… I didn’t know this before that kodular works in that way…(some of the other programming languages works like that so I assumed). I Edited that now…