I have three screens: breakfast, lunch and dinner. Each screen has a checkbox list for a food item and their associated carbon units. The users goes through each screen and selects the food items that want. On the dinner screen, I would like to add a calculate button which adds up the carbon units values from all the food items that have been ticked and displays it in a label.
Question: how do I implement this calculate button. Also, how do I pass on data from one screen to the next? is there such thing as hidden form fields?