CNumberValidator with non-zero integer

I would like CNumberValidator has an option to validate if a number is only positive > 0.

Something like: ‘/^[1-9]\d*$/’

Thanks!

How about setting ‘min’=>0? That would mean >= 0 of course…

You’re right! :o

Sry…