number field validation and style