I am trying to design a web app that includes a web form for data submission. This form should allow the user to add multiple data components before a final "SUBMIT" pushes it all to a database. In order to do this well, I want the user to see the cumulative progress as he/she inputs data.
For example, a possible (very basic) user flow is in the image below.
I cannot for the life of me figure out how to do this. I was thinking some sort of Javascript (or perhaps JQuery) that appends to a variable that is displayed in a div (kind of like in the dozens of questions like this one), but I can't figure out how to give that variable the proper scope.
How would one go about making this functionality without a page reload? I know I could do it simply with a GET or POST, but that requires a refresh on every click which dramatically slows down the process.