Validate only digits for numerical input fields.