added validate methods to number type fields