Veikko Mäkinen wrote:

Steven Weiß wrote:

3) improvement of NumberValidator
http://trac.agavi.org/trac.cgi/ticket/56


I would take this a bit further and make the regexp accept negative integers too: http://veikkomakinen.com/agavi/NumberValidator.diff.txt. There is a 'min' parameter to make the validator accept only positive numbers.

right, I didn't think of this 'cause I only needed database id validation ;-)

--
mfg Steven Weiß


-------------------------------------------------
Steven Weiß
code-factory - Programming, Webdesign, PC-Service

Anton-Uhrenbacherstr. 10
77977 Rust

Telefon:   (07822) 440668
Handy:     (0178) 3832347
[EMAIL PROTECTED]
http://www.code-factory.de
-------------------------------------------------



_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to