Re: QF Compare

From: Date: Wed, 11 Feb 2004 17:23:27 +0000
Subject: Re: QF Compare
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10633@lists.php.net to get a copy of this message
Hi! Mike Carter wrote:
Does the built-in rule allow checking if a value entered in a single box is lessthan/greatthan/equal to a specified value?
No.
Or is the rule strictly for comparing between other form element values (ie the password boxes example)?
Yes.
If this is not possible then is there anything already out there to do it? If not I might get hackin on a 'range' rule...
Well, there is a RuleNumericRange example available in rules-custom.php: http://cvs.php.net/co.php/pear/HTML_QuickForm/docs/rules-custom.php?login=2&r=1.2

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