James making sure the correct error messages are shown when submitting the dispense form