Education page input errors

Catch input errors on the education page instead of letting them bump up to PHP errors.