1function validateForm(theForm) 2{ 3 4 if (theForm.user.value == "") 5 { 6 alert("Please enter a value for the \"User Name\" field."); 7 theForm.user.focus(); 8 return (false); 9 } 10 11 if (theForm.user.value.length > 60) 12 { 13 alert("Please enter at most 60 characters in the \"User Name\" field."); 14 theForm.user.focus(); 15 return (false); 16 } 17 18 if (theForm.pw.value == "") 19 { 20 alert("Please enter a value for the \"Password\" field."); 21 theForm.pw.focus(); 22 return (false); 23 } 24 25 if (theForm.pw.value.length < 3) 26 { 27 alert("Please enter at least 3 characters in the \"Password\" field."); 28 theForm.pw.focus(); 29 return (false); 30 } 31 32 return (true); 33}
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.