Re: DO FB - how to set a password empty...

From: Date: Wed, 10 Nov 2004 18:38:52 +0000
Subject: Re: DO FB - how to set a password empty...
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15424@lists.php.net to get a copy of this message
Justin Patrin wrote:
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 thanks, now it works...


« previous php.pear.general (#15424) next »