Added validation to item and quantity text fields.