1// Only script specific to this form goes here. 2// General-purpose routines are in a separate file. 3 function validateOnSubmit1() { 4 var elem; 5 var errs=0; 6 // execute all element validations in reverse order, so focus gets 7 // set to the first one in error. 8 //business 9 //business 10 ourElement = document.getElementById("sub_email"); 11if (!validateEmail(ourElement, 'info_email',true)) errs += 1; 12 13 14 15 if (errs>1) alert('Please ensure all required fields are entered'); 16 if (errs==1) alert('Invalid email. Please try again.'); 17 18 return (errs==0); 19 } 20// JavaScript Document
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.