title: Web form that displays user input on same page without page reload
body: <p>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.</p>
  
  <p>For example, a possible (very basic) user flow is in the image below.</p>
  
  <p><a href="https://i.stack.imgur.com/DlacU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DlacU.png" alt="enter image description here"></a></p>
  
  <p>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 <a href="https://stackoverflow.com/questions/6957443/how-to-display-div-after-click-the-button-in-javascript">like this one</a>), but I can't figure out how to give that variable the proper scope.</p>
  
  <p>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.</p>