RE: [PEAR] quickform bigger than validator
| From: | Mike Carter | Date: | Tue, 13 Apr 2004 10:49:08 +0000 |
| Subject: | RE: [PEAR] quickform bigger than validator | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11813@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Sagi Bashari [mailto:sagi@boom.org.il]
>
> How can I validate if a numeric form field is bigger than 0
> using QuickForm?
A regular expression on the form field to allow any number, that doesn't
start with 0 to be entered?
Or use the 'NumericRange' rule class which is provided in the examples code
of Quickform.
Regards,
Mike C.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________