only allow numeric data in quantity field