Numeric field validation doesnt work