title: How to get multiple elements from a form using request.form.get
body: <p>I have a form inside an html file, this form is creating new input fields in which the user is supposed to type some info. Later, i wanna pass all those values into my python main file (application.py)and do somethings with them. The problem is that i don't know how to pass several values into python. Normally i would use this </p>
  
  <p>request.form.get("username")</p>
  
  <p>which returns me the value of the input field named "username" inside my html file. Now, i have several input fields which are generated when the user pushes a button:</p>
  
  <pre><code>$("#add_dream").click(function(){
      $("#"+x).append('&lt;button type="submit" style="height:30px;" class="delete" 
      id="ix"&gt;Remove&lt;/button&gt;')
      document.getElementById("ix").setAttribute("id","delbuttdream"+j)
  }
  </code></pre>
  
  <p>This is not the whole code, but it may help to understand what i'm saying. This new fields can be created an deleted as many times as the user wants to, so the name of the fields or their ids don't follow a straight order (1,2,3,4...). I wanna know if there's anyway in which i can call from python using request.form.get all the elements of the same clase or with certain id and not only one of them by name</p>