Re: QuickForm password fields
| From: | Bertrand Mansion | Date: | Mon, 17 Jun 2002 16:55:51 +0000 |
| Subject: | Re: QuickForm password fields | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1695@lists.php.net to get a copy of this message | ||
le 17/06/02 18:31, David Dahl à david@ddahl.com a écrit :
> Setting value of a password field must be another method...
> I added this to your QuickForm example file, without results:
>
> $defaultValues['ipwdTest'] = 'passwd';
>
> result:
> <tr>
> <td align="right" valign="top"><b>Test
> Password:</b></td>
> <td nowrap="nowrap" valign="top" align="left"><input
> name="ipwdTest" type="password" /></td>
> </tr>
Looks like a bug, a mix of some old code with new one.
Just get rid of the setValue and getValue methods in password.php should
make it work.
I will do that tomorrow in CVS if Jason or Adam don't do it before me.
> BTW:
>
> Thanks for all of your help so far! I am willing to make another
> example script for dummies like me and post it to a site or for the
> QuickForm docs.
That would be great.
Bertrand Mansion
Mamasam