1

I have one question. My input field always auto input. I find some solutions, but does not work.

I try all of these, but not working for me. Have you any ideas?

echo $this->Form->input('username', array('autocorrect' => 'off',  'autocapitalize' => 'off', 'autocomplete' => 'off'));

or

 echo $this->Form->input('username','autocomplete' => 'off'));
Bob
  • 1,493
  • 1
  • 16
  • 28
ChhengRavy
  • 19
  • 3

1 Answers1

1

The correct way is

echo $this->Form->input('ModelName.fieldname',array('autocomplete'=>'off'));

Does the HTML input is generated correctly? Can you check?

Laura
  • 71
  • 1