title: How to use browser autocomplete when input name contains an array?
body: <p>I have a form with several input fields with the same name and an array value. For instance:</p>
  
  <pre><code>&lt;input type="text" name="customer_reference[1]"&gt;
  &lt;input type="text" name="customer_reference[2]"&gt;
  &lt;input type="text" name="customer_reference[3]"&gt;
  </code></pre>
  
  <p>I would like to use the browser auto complete function. This function uses the name tag. Therefore I have different auto complete suggestions for <code>customer_reference[1]</code> then for <code>customer_reference[2]</code>.</p>
  
  <p>Is there a way to let the browser threat the fields as being the same? So when the user starts to type in a reference, the browser will give the same suggestions in all fields with the same name, but a different array value?</p>
  
  <p>I tried using, but no difference:</p>
  
  <pre><code>&lt;input type="text" name="customer_reference[1]" autocomplete="customer_reference"&gt;
  &lt;input type="text" name="customer_reference[2]" autocomplete="customer_reference"&gt;
  &lt;input type="text" name="customer_reference[3]" autocomplete="customer_reference"&gt;
  </code></pre>
  
  <p>I also tried setting an additional id or class, but the browser does not seem to use this.
  And I also tried using a label.</p>
  
  <p>Is there any way to let the browser auto complete function know that the fields are of the same 'type of data', so it will give the same suggestions?</p>