anchor.diff:  		}
   
   		String pageOf = (String)request.getAttribute(Constants.PAGEOF);
  +
  +		Object obj = request.getAttribute("participantForm");
  +		int noOfRows=0;
  +
  +		if(obj != null && obj instanceof ParticipantForm)
  +		{
  +			ParticipantForm form = (ParticipantForm)obj;
  +			noOfRows = form.getCounter();
  +		}
   %>
  +
   
   	<html:errors />
   
   		<table summary="" cellpadding="0" cellspacing="0" border="0" class="contentPage" width="600">
   			
   		   <html:form action="<%=Constants.PARTICIPANT_ADD_ACTION%>">
  -		   
  +		   		   
   		   <logic:equal name="<%=Constants.PAGEOF%>" value="<%=Constants.QUERY%>">
   		   	<tr>
       		    <td>
  
positive.code: 			spreqtype.className="formField";
  			sname="";
  
  			var abc = "value(ParticipantMedicalIdentifier:" + (q+1) + "_site)";
  			sname="<select name='" + abc + "' size='1' class='formFieldSized15' id='participantMedicalRecordSource" + (q+1) + "'><option value='-- Select --'>-- Select --</option></select>";
  			spreqtype.innerHTML="" + sname;
  		
  			//Third Cellvalue(ParticipantMedicalIdentifier:1_medicalRecordNumber)
  
negative.code: 			 	 <table summary="" cellpadding="3" cellspacing="0" border="0">
  				 <tr>
  					<td><html:hidden property="<%=Constants.OPERATION%>" value="<%=operation%>"/></td>
  					<td><html:hidden property="counter"/></td>
  				 </tr>
  				 
  				<logic:equal name="<%=Constants.PAGEOF%>" value="<%=Constants.QUERY%>">
  