anchor.diff:  <%
   Date birthDateObject=(Date)request.getAttribute("dob");
   String birthDateString=""; 
  -String collectionDateString=form.getCollectionDate();; 
  +String collectionDateString=form.getCollectionDate(); 
   String showageDiffString=form.getAgeAtCollection();
   Date encounterTimeStampDate;
   int collectionMinute=0;		
  
positive.code: 		{
  			
  			document.getElementById('ageAtCollection').value=no_year.toString();
  		}
  			
  	}
  
negative.code: 	encounterTimeStampDate=(Date)convertDateFormat.parse(collectionDateString);		
  	Integer newAgeAtCollection=AppUtility.yearsDiff(birthDateObject,encounterTimeStampDate);
  	showageDiffString=String.valueOf(newAgeAtCollection);
  	form.setAgeAtCollection(showageDiffString);
  }
  %>
  <html:form action="<%=formName%>">
  