Changed the event to trigger error checking from "change" to "blur"