Adjust the textField:shouldChangeCharactersInRange:replacementString: for number pads.