else if (EmergencyPhone1 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone1').focus(); // document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone1').style.borderColor = "Red"; flag = false; } else if (EmergencyPhone2 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone2').focus(); // document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone2').style.borderColor = "Red"; flag = false; } else if (EmergencyPhone3 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone3').focus(); // document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyPhone3').style.borderColor = "Red"; flag = false; } else if (EmergencyCell1 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyCell1').focus(); flag = false; } else if (EmergencyCell2 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyCell2').focus(); flag = false; } else if (EmergencyCell3 == "") { document.getElementById('ContentPlaceHolder2_lblShowError').style.display = 'inline'; document.getElementById('ctl00_ContentPlaceHolder2_txtEmergencyCell3').focus(); flag = false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)