Karen try the following:

<!---This checks the barcode number against the possible ranges--->
function barcodeRange(barcode) {
 if (!((barcode.value >= '21386000000000' && barcode.value <=
'21386000999999')
 || (barcode.value >= '22222000000000' && barcode.value <=
'22222009999999'))) {
 alert("Enter your full UT Southwestern Library card number with no spaces")
 window.document.searchreq.barcode.focus();
 return(false); <----------- add this line here.
 }
}

Marlon


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to