Because it's forms history is not flawless, that's all.
You can force form fields reset by JS:
document.getElementById('your_form_id').reset();

On Jul 28, 12:10 am, avairet <[email protected]> wrote:
> Ok, it's the Forms History of Firefox that store those informations.
> If I delete stored usernames and passwords, then fields in my form are
> empty.
> But I don't understand why Firefox fills "email" field instead of
> "username"?
>
> On 27 juil, 19:06, avairet <[email protected]> wrote:
>
>
>
> > Ok, thanks Norman!
> > Apparently it's Firefox that fills the field but why "email" and not
> > "username"?
> > How to avoid this behavior? Because it's disturbing for non-specialist
> > users...
>
> > avairet
>
> > On 27 juil, 18:57, Norman Paniagua <[email protected]> wrote:
>
> > > I think it's your browser that fills your field, try to see the html code
> > > that it generate and if the value is empty it's your browser, otherwise 
> > > it's
> > > cake
> > > ---
>
> > > Norman Paniagua
>
> > > 2010/7/27 avairet <[email protected]>
>
> > > > Hi,
>
> > > > I'm using CakePHP 1.3.3 and Firefox 3.6.6 under WinXP.
>
> > > > My add user form (in an admin context) has it's password field always
> > > > filled in by the Auth password of the connected user, even I write:
> > > > value=>'' in the input options.
>
> > > > And another very strange behavior on the same form: the email field is
> > > > filled in by the user name of the Authenticated user.
>
> > > > Here is my code:
> > > >http://bin.cakephp.org/view/592173290
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers
> > > > with their CakePHP related questions.
>
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "CakePHP" group.
> > > > To post to this group, send email to [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<cake-php%[email protected]
> > > >  om>For more options, visit this group at
> > > >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to