//Secondary Custom Code 1 - Start
function IMMValidateForm()
{
 try { 
 var sTemp;
 var fieldRequired = Array("CSTM_NAME","CSTM_NEW_FLAG");
 var fieldDescription  = Array("Please Select Member Name","Please Select a Checkbox");
 var CSTM_NAME = this.getField("CSTM_NAME");
 var CSTM_SIG_NAME = this.getField("CSTM_SIG_NAME");
 
 var VALIDATE_SIGNERS_FIELD = this.getField("VALIDATE_SIGNERS_FIELD");
 
  //When the drop list value and signature name value do not match then validate signers must be clicked
 if (CSTM_NAME.value.toUpperCase() != CSTM_SIG_NAME.value.toUpperCase()){
  VALIDATE_SIGNERS_FIELD.value = "";
 }
 //Set a value of an off the page entry field VALIDATE_SIGNERS_FIELD and do a conditional mandatory 
 if (VALIDATE_SIGNERS_FIELD.value != "VALIDATED")
 {
  fieldRequired.push("VALIDATE_SIGNERS_BTN");
  fieldDescription.push("Click VALIDATE SIGNERS Button");	 
 }
 
 sTemp= IMMSetAllMandatoryFields(fieldRequired, fieldDescription);
 if (sTemp== true){

    return true;
 }
 else
 {
    return false;
 }
 } catch (err) { 
 app.alert("Your custom code is incorrect in IMMValidateform function, it may be the logic or syntax. Correct the code and re-test the form. \r\n + Error: " + err); 
 }
}
//Secondary Custom Code 1 - End