Re: DO FB - how to set a password empty...
| From: | Justin Patrin | Date: | Wed, 10 Nov 2004 17:02:38 +0000 |
| Subject: | Re: DO FB - how to set a password empty... | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15420@lists.php.net to get a copy of this message | ||
On Tue, 9 Nov 2004 17:45:09 +0100, Alexander Petri <alex.petri@gmx.de> wrote:
> if a user would change his password (with DO and FB)
>
> the Password field is always prefilled with "******"
>
> how can i predefine this as empty field?
>
1) You can try setConstants() on the form in postGenerateForm() for tha DO.
2) You could use a preDefElement in preGenerateForm
3) You could override the get() function for the DO to not get the PW
(then you'd probably want a getPassword function which specifically
gets it).
4) You could call setDefaults() on the form in postGenerateForm() to
re-set the default
5) There are probably other ways
--
paperCrane --Justin Patrin--