The autocomplete attribute is an unsupported one, but introduced by Microsoft. Now all common browsers supports the autocomplete attribute, though it's still not in the official specification (afaik).
For elements, all kind of attributes can be set with an option. Inside your
form::init() method:
$this->addElement('password', 'password', array(
'label' => 'Your password',
'autocomplete' => 'off'
));
Regards, Jurian
--
Jurian Sluiman
Soflomo.com
Op Tuesday 03 November 2009 20:06:54 schreef Hector Virgen:
> Do input type="password" fields support autocomplete?
>
> --
> Hector
>
> On Tue, Nov 3, 2009 at 11:02 AM, Anders Gunnarsson
<[email protected]>wrote:
> > How do I add /
> > autocomplete/="off"
> >
> > To a password field in zend_form?
> >
> > Anders
signature.asc
Description: This is a digitally signed message part.
