You mean the form fills the field with the password as default value?
I don't think that is ever a good idea. If you want a change password
form, here is the class that I'm using.

http://gist.github.com/278064

On Jan 15, 6:38 pm, Tom Ptacnik <to...@tomor.cz> wrote:
> Left it unfilled, and then when saving the profile don't change the
> password if the password field is blank..
>
> Also you have to optimize a validation process for this behaviour.
>
> On 14 led, 18:08, Darren884 <darren...@gmail.com> wrote:
>
>
>
> > HI basically I want to make it so as if a user is filling out their
> > account options if they don't change their password it stays as it is.
> > This is very common with profile sites and such.
>
> > On Jan 14, 6:17 am, Alexandru-Emil Lupu <gang.al...@gmail.com> wrote:
>
> > > what do you mean? if a user does not complete a field, and validation stop
> > > the process to have the password field filled in with previous entry?
> > > i yes, then i am not sure you can. also ... is not a good practice AFAIK.
> > > Alecs
>
> > > On Thu, Jan 14, 2010 at 1:44 AM, Darren884 <darren...@gmail.com> wrote:
> > > > I have a password field and I want it so if the user doesn't fill it
> > > > in it stays the same value. How do I accomplish this? I also have a
> > > > password confirmation field.
>
> > > > Thanks
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "symfony users" group.
> > > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog
> > > >  ­legroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/symfony-users?hl=en.
>
> > > --
> > > Have a nice day!
> > > Alecs
>
> > > As programmers create bigger & better idiot proof programs, so the 
> > > universe
> > > creates bigger & better idiots!
> > > I am on web:  http://www.alecslupu.ro/
> > > I am on twitter:http://twitter.com/alecslupu
> > > I am on linkedIn:http://www.linkedin.com/in/alecslupu
> > > Tel: (+4)0748.543.798
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to