New HTML_QuickForm rule

From: Date: Mon, 25 Aug 2003 14:38:53 +0000
Subject: New HTML_QuickForm rule
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20493@lists.php.net to get a copy of this message
Currently working with HTML_QuickForm and I needed a rule for 'nonnegative' or better to say 'positive'. I know it can be achieved with regex rule but something like the following migh be a good addition: 'positive' => '/[0-9]*/' 'negative' => '/^-[1-9][0-9]*/' (BTW, only after Keith Edmunds wrote the HTML_QuickForm getting started guide, I realised how usefull the library is :) -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.pear.dev (#20493) next »