Display custom error messages when user types in an invalid response to a question