//Primary Custom Code - Start
function IMMValidateForm()
{
 try { 
 var sTemp;
 var fieldRequired = Array("A_CSTM_SELECT_ONE_MONTH_FLAG","A_CSTM_SELECT_YEAR");
 var fieldDescription  = Array("A_CSTM_SELECT_ONE_MONTH_FLAG","A_CSTM_SELECT_YEAR");
 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); 
 }
}
//Primary Custom Code - End