2008年8月4日星期一

[fw-mvc] Prepopulating a password field with Zend_Form

I have a password field in one of my forms. How can I pre-populate that field with a value? I have tried setting the value with $form->password->setValue() but when the form is rendered the password field shows up blank. I know this is the intended behavior for login forms, but the form I am working with now is not a login form. Thanks for the help!

-Hector

没有评论: