1function ValidateFormData(RegisForm, url) 2{ 3 //Validation for Loginame 4 strRetVal=CheckLoginName(RegisForm.txtLogiName,"Login Name") 5 if (strRetVal !="") 6 { 7 alert(strRetVal); 8 SetFocus(RegisForm.txtLogiName); 9 return false; 10 } 11 12 //Validation for Password 13 strRetVal=CheckPassWord(RegisForm.txtPassword,"Password") 14 if (strRetVal !="") 15 { 16 alert(strRetVal); 17 SetFocus(RegisForm.txtPassword); 18 return false; 19 } 20 21//If everything is fine then... 22/*THIS CODE COMMENTED BY SHEKHAR ON 30/01/2004 23 var strSQL = "SELECT Count(LogiName) As LogiName FROM " + gstrUserDBConst + "UCUserMast WHERE LogiName='" + RegisForm.txtLogiName.value.toLowerCase() + "' AND binary_checksum(LogiPass)=binary_checksum('" + RegisForm.txtPassword.value + "')"; 24 //alert(strsql) 25 var rstTemp = GetRecordset(strSQL); 26 27 if (rstTemp.fields("LogiName")== 0) 28 { 29 alert("Sorry, Invalid Login Name or Password entered!") 30 RegisForm.txtLogiName.select(); 31 RegisForm.txtPassword.value=""; 32 SetFocus(RegisForm.txtLogiName); 33 return false; 34 } 35************UPTO HERE */ 36 RegisForm.Method="post"; 37 RegisForm.action=url ; 38 RegisForm.submit() ; 39 return true; 40 41}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.