On 31/03/2011 19:48, Steve Rayner wrote:
Is it possible to get the password field populated when populating a form?

I like the default behaviour for a login form, when the value is not
populated, but for editing a user's details i want the current
password populated in the box.
My only work around at the moment is to use a Zend_Form_Element_Text
object instead and make the password visible.

Rather than this, what I do is only if the password field is filled in, I check it against the password confirmation field and include it in the data to updated in the DB.

If there are better ways of doing this, I'm also interested in hearing about it.



--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to