anchor.diff:  		htmlMsg = htmlMsg + "<li>" + msg + "</li>";
   	});
   	$('rulesMessageList-' + aeReportId).innerHTML = htmlMsg;
  +
  +    var onlyWithdraw = isOnlyActionWithdraw(aeReportId);
  +    if(onlyWithdraw){
  +        jQuery('#report-btn-' + aeReportId).attr('value' , 'Withdraw');
  +    }else{
  +        jQuery('#report-btn-' + aeReportId).attr('value' , 'Report');
  +    }
  +
    }
   //=================================================================================
   function showNewDataCollection(){
  
positive.code: //=================================================================================
   /*This function handles, when someone clicks on  a report definition */	
   function handleReportSelection(aeReportId, rdId){
       checkIfAnyReportSelected(aeReportId);
  	 var curRdObject = AE.applicableReportDefinitionHash.get(aeReportId).get(rdId);
  	 
  	 //check if there is at least one ae. 
  
negative.code: 	
  }
  
  
  //=================================================================================
  // will check if the report is selected or not.
  function hasActualActionOnReports(aeReportId){
      var hasActualAction = false;
  	//check for actual action.
  	AE.applicableReportDefinitionHash.get(aeReportId).values().each(function(rdObj){
  		if(rdObj.getActualAction()){
  			hasActualAction = true;
  		}
  	});
  
      return hasActualAction;
  }
  
  
  
  //==================================================================================
  // will check if the report is selected or not, then will enable disable the report.
   
   function toggleReportingButton(aeReportId) {
       var hasActualAction = hasActualActionOnReports(aeReportId);
  
       // change the SUBMIT button and the message
       if (hasActualAction) {
           jQuery('#report-btn-' + aeReportId).removeAttr('disabled');
           if (jQuery('#rulesMessage-' + aeReportId)) jQuery('#rulesMessage-' + aeReportId).show();
           if (jQuery('#rulesMessageNone-' + aeReportId)) jQuery('#rulesMessageNone-' + aeReportId).hide();
  
       } else {
           jQuery('#report-btn-' + aeReportId).attr('disabled', 'false');
           if (jQuery('#rulesMessage-' + aeReportId)) jQuery('#rulesMessage-' + aeReportId).hide();
           if (jQuery('#rulesMessageNone-' + aeReportId)) jQuery('#rulesMessageNone-' + aeReportId).show();
       }
   }
  
  
  //=================================================================================
  // will validate the input
  function validate(aeReportId){
  	//determine if there is a create-edit action?
  	var createOrEditAction = false;
  