Allow only Digits or Backspace in the weight text boxes