I've never seen a password field support autocomplete. What does it do? Does
it show a list of recently typed passwords so you can select one? I thought
this feature was only available on inputs of type "text".

--
Hector


On Tue, Nov 3, 2009 at 11:12 AM, Jurian Sluiman
<subscr...@juriansluiman.nl>wrote:

> 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 <and...@metropolis.se
> >wrote:
> > > How do I add /
> > > autocomplete/="off"
> > >
> > > To a password field in zend_form?
> > >
> > > Anders
>

Reply via email to