Re: Functionality to check for duplicate usernames, confirm passwords
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
On 14/06/2005, at 5:28 PM, Benedikt Laube wrote: > Hi Dan, > > you can also write your own QuickForm rules. You can write one to > easily search your LU container(s) at form submission, to look for > duplicates, and then you can use the QuickForm validation system to > throw an error if need be. > > Keep in mind that it might be not a good idea to give an error string > like "This username already exists" but rather "Please choose another > username". A little bit of security might be saved by that. > > Yes I was reading up on custom validation, If I make any progress I will surely posted some example code cheers.