Re: any examples of using HTML_QuickForm to add users?

From: Date: Thu, 11 Nov 2004 17:42:38 +0000
Subject: Re: any examples of using HTML_QuickForm to add users?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15450@lists.php.net to get a copy of this message
On Thu, 11 Nov 2004 09:51:49 +0300, Alexey Borzov <borz_off@cs.msu.su> wrote: > Hi, > > Stowe Spivey wrote: > > Here's what I have and it' not checking the unique values. I am > > using the example in the documentation. > > > > Any ideas are greatly appreciated! > > Your callback should return false if the element is not valid and true if it is. > It returns non-empty strings (evaluating to true) in either case so validation > doesn't behave as expected. > In addition, it should be return true; NOT return("true"); Also: return false; NOT return("false"); -- Justin Patrin

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