title: Passing a list data from html to python (flask)
body: <p>I passed a list data <code>selectedOrder</code> from python to html as below.</p>
  
  <pre><code>return render_template(f"fillForm.html", items=selectedOrder)
  </code></pre>
  
  <p>I know there is a way to send a single data from html either by using input form or appending data to url as in <code>/fillForm?sid=3&amp;quantity=5</code> but I'm curious if I can send a list data from html back to python in such a manner as well. Obviously I can just store the data to some variable within python before passing it but given how my code is working, it would be better to directly get the data from html if possible. Not sure if this will matter, but I use flask and jinja2 template.</p>