title: Yii: disable autofill of username and password fields on chrome
body: <p>how can i disable autofill fields in Yii. It automatically loads saved username and password of the logged in user. </p>
  
  <pre><code>&lt;?php echo $form-&gt;textField($model,'username',array('size'=&gt;60,'maxlength'=&gt;100, 'class'=&gt; 'form-control input-inline input-medium', 'autocomplete'=&gt;"off")); ?&gt;
  &lt;?php echo $form-&gt;passwordField($model,'password',array('size'=&gt;60,'maxlength'=&gt;255, 'class'=&gt; 'form-control input-inline input-medium', 'autocomplete'=&gt;"off")); ?&gt;
  </code></pre>
  
  <p><strong>NOTE:</strong>
  property autocomplete='off' does not work on chrome. It is working on FF.    </p>