added validation to CompetencyPartial.cshtml