I would like CNumberValidator has an option to validate if a number is only positive > 0.
Something like: ‘/^[1-9]\d*$/’
Thanks!
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!
Sry…