Form field numeric validation not working