I am using Symfony2.1.x and SonataAdminBundle w/ FOSUserBundle.
I have a new entity that includes a password field. When adding a new entry via admin panel, how do I encode the password?
Also, on another entity form, how do I go about not updating a field to doctrine if it's empty?