I have two pages, one where the user can increment a variable and the first second page has a label where the user can see their incremented variables.
I’m saving the text of the label and getting it when the page opens on the first page. It’s not saving or getting the variable when I reload or reopen the page, and I’m not sure why?
here is a snippet of the code on the first page:
I set the label with the variable that was increment on the other page then I save it as "totalAssignments) then I also get it as shown below.
the second page just has a button that increments the variable, “total assignments” by 1 each time it’s clicked
I’m not sure where my problem is occurring? Is it because I’m saving and getting when the screen opens?