title: How can I avoid browser prepopulating fields in my registration form?
body: <p><code>autocomplete="off"</code> is not what I am after. Basically, on my registration form there are fields  "phone" and "password" placed one above the other. (see screenshot)</p>
  
  <p>The "phone" field gets, annoyingly, prepopulated with a username, as I guess what the browser is doing - the browser finds a field of type password and assumes the text input field just before it is a username field. The effect is this:</p>
  
  <p><img src="https://i.stack.imgur.com/fhTwR.png" alt="registration form snapshot"></p>
  
  <p>Why I am not interested in the non-standard autocomplete attribute for the phone field, is that I do want user to be able to fill this form as easily as possible and if they have previously entered their phone number on other sites (into fields called "phone") they could benefit from this showing up as they start typing into the field. That's why I don't want to turn autocomplete off altogether.</p>
  
  <p>I was thinking more in the direction of reorganizing the fields somehow to avoid this behaviour. Or some way of telling the browser that the field above the password field has nothing to do with it, or that the password field is not used for authentication purposes. Somehow mark it as that. Or inject some invisible element inbetween these two fields?</p>
  
  <p>Any ideas?</p>
  
  <p>Markup used:</p>
  
  <pre><code>&lt;input id="phone" name="phone" type="text" value="" maxlength="30"&gt;
  &lt;input id="newPassword" name="newPassword" type="password" value="" maxlength="20"&gt;
  </code></pre>
  
  <p>I am getting this behaviour on Chrome, FF, (not sure about IE, got an archaic version of that on my machine, don't even want to start worrying about IE yet.)</p>