prevent co-advisor when no advisor is declared & prevent white spaces in mandatory fields