I have a number field in my app. To choose what number to insert, the user has the option to click on the field's text, that navigates the app to a screen with a set of pictures and for each picture there's a number. Clicking on a picture sets a global variable to that number and then that number should be put into that field. The thing is that no matter what, it doesn't seem to work.
I don't where I should put that global variable because it either resets to what there was before or it changes for all the items in the list.
I figured it should go in the default of the datacard or the default of the datacardvalue or in the update.
Please help me, I'm at a loss