Strnumber = form.Number.Value; if (strnumber == ") {Alert (" Please enter your ID number! "); form.Number.focus (); return (false);} if (Strnumber.Length < 5 || Strnumber.Length> 20) {Alert ("Your ID number is incorrect, must be between 5-20 bits!"); Form.number.focus (); return (false);} for = 0; Index
// Check if the input item is a digital function Digit (Check) {return (('0' <= check) && (check <= '9'));} // Check if the input item is a letter Function Alpha (Check) { Return ((('a' <= check) && (check <= 'z')) || (('a' <= check) && (check <= 'z')))} // ->