title: python flask ImmutableMultiDict
body: <p>This is my code: </p>
  
  <pre><code>@user_bp.route('/band', methods=['GET', 'POST'])
  def band_details():
      from include.form.User import Banddetails
      form = Banddetails()
  
      if request.method == 'POST' and  form.validate_on_submit():
  
           pippo =  request.args.getlist('name[]')
           print 'sei passato di qui' + str(len(pippo))
           for item in pippo:
               print item      
           return "result"        
      return render_template("banddetails.html", form=form, session=session)
  </code></pre>
  
  <p>I have a similar form:</p>
  
  <pre><code>&lt;input type="text" name="name[]" id="name" value=""&gt;
  </code></pre>
  
  <p>I want get the element <code>name[]</code>, <code>lastname[]</code>, ... but I don't understand the procedure described in the flask api.</p>