How does Google Chrome recognize a login form?
<p>I faced an issue recently where Google Chrome offers to save username and password for a login form, but took a different field value than the username-field to store as username. </p>

<p>Does anyone know which criteria are used by chrome to determine the username and password in a login form?</p>

<p>My guess (but cannot find documentation to proof it):</p>

<ul>
<li>take first text-field as username</li>
<li>take first password field as password</li>
</ul>