anchor.diff:  	<input type="hidden" id="consentSignedDate" name="consentSignedDate"/>
   	<input type="hidden" id="dontSave" name="dontSave" value="true"/>
   </form:form>
  -<tags:formPanelBox tab="${tab}" flow="${flow}">
  +<tags:formPanelBox tab="${tab}" flow="${flow}">
  +	<div id="errorMsg1" style="display:none">
  +	</div>
  +
   <%--<tags:instructions code="enrollment_details" />--%>
   
   	<c:choose>
  
positive.code: 		</div>
  		<div class="row">
  			<div class="label"><tags:requiredIndicator /><fmt:message key="registration.currentConsentVersionIs"/> <em>${command.studySubject.studySubjectStudyVersion.studySiteStudyVersion.studyVersion.consents[0].name}</em></div>
  			<div class="value">
  				<input type="checkbox" name="studySubject.currentVersionIndicator" value="true" onclick="setVersion(this,0);"
  					${(fn:length(command.studySubject.studySubjectStudyVersion.studySubjectConsentVersions) == 1 && 
  									!empty command.studySubject.studySubjectStudyVersion.studySubjectConsentVersions[0].consent) ? "checked" : ""}/>
  				<tags:hoverHint keyProp="studySubject.informedConsentSigned"/></div>
  		</div>
  	</c:if>
  
negative.code: }
  AutocompleterManager.addAutocompleter(diseaseSiteAutocompleterProps);
  ValidationManager.submitPostProcess=function(formElement, flag){
  								var consentsNumber = ${fn:length(command.studySubject.studySite.study.consents)};
  								 atLeastOneConsentSelected = false;
  								 allConsentsSelected = true;
  									for(var i=0; i <consentsNumber; i++){
  										var informedConsentDate = document.getElementById("studySubject.studySubjectStudyVersion.studySubjectConsentVersions["+i+"].informedConsentSignedDate");
  										if (informedConsentDate.value != null && informedConsentDate.value != ''){
  											atLeastOneConsentSelected=true;
  										}else{
  											allConsentsSelected = false;
  										}
  									}
  							if (${command.studySubject.studySite.study.consentRequired == 'ONE'}){
  									var error = document.getElementById("errorMsg1");
  									if(!atLeastOneConsentSelected){
  										if(${fn:length(command.studySubject.studySite.study.consents) > 1}){
  											error.innerHTML="<span id='sid1' style='color:#EE3324'>At least one consent needs to be signed.</span><br/>";
  										} else {
  											error.innerHTML="<span id='sid1' style='color:#EE3324'>Consent is required.</span><br/>";
  										}
  										error.style.display="";
  									}else {error.style.display= "none" ;}
  							} else if (${command.studySubject.studySite.study.consentRequired == 'ALL'}){
  								var error = document.getElementById("errorMsg1");
  									if(!allConsentsSelected){
  										error.innerHTML="<span id='sid1' style='color:#EE3324'>All consents need to be signed.</span><br/>";
  										error.style.display="";
  									} else {error.style.display="none";}
  							}
  									
  							if(formElement.id!='command' || !flag)
  								return flag;
  							if(${hasInv} && $("treatingPhysician").value=="" && $("studySubject.otherTreatingPhysician").value==""){
  