Re: Add user form has password field filled in by Authenticated user...

2010-07-28 Thread Angelo
echo $form-input('email', array('autocomplete' = 'off', 'value' = '')); On 28 juil, 03:44, Dr. Loboto drlob...@gmail.com wrote: 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,

Add user form has password field filled in by Authenticated user...

2010-07-27 Thread avairet
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

Re: Add user form has password field filled in by Authenticated user...

2010-07-27 Thread Norman Paniagua
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 avai...@cakephp-fr.org Hi, I'm using CakePHP 1.3.3 and Firefox 3.6.6 under WinXP. My add user

Re: Add user form has password field filled in by Authenticated user...

2010-07-27 Thread avairet
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 normanpania...@gmail.com wrote: I think it's your browser that fills your

Re: Add user form has password field filled in by Authenticated user...

2010-07-27 Thread avairet
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 avai...@cakephp-fr.org wrote: Ok, thanks Norman!

Re: Add user form has password field filled in by Authenticated user...

2010-07-27 Thread Dr. Loboto
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 avai...@cakephp-fr.org wrote: Ok, it's the Forms History of Firefox that store those informations. If I delete stored