Added client-side checks for required fields in assignment form. (From PR #1451)