[Solved] How to move a number from text input into firebase then into a label on a different screen

In my app, I need the user to be able to input a number into a text input
Screenshot 2020-02-21 at 13.38.39
And then it go into the firebase cloud, and once the number is stored in the database, change the screen to a different page and a label shows the number that they typed in
Screenshot 2020-02-21 at 13.38.47
And if possible for that number to save, so as long as the user is logged in (I have already set this up) and when they go on this screen, they can always see their number. This is all a bit complicated for me.

1 Like

Hi, @16josephsrgz! :wave:

This method might help you -

  • Grab a image component.

  • When you store the textInput's text to Firebase, save it in Local Storage too.

    image

  • So, wherever you want to get the value, use these blocks -

    image


Hope I helped you! :smiley_cat:
Good Luck! :tada:

Thanks! :blush:

1 Like

This is perfect! Thank you so much :laughing:

1 Like