Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type mismatch: 'CLNG' on mac/AOL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
User on a Mac w/AOL browser attempted to enter a numeric
value in an order quantity (INPUT TYPE=text), but when she attempts to key in the quantity it displays asteriks instead of the numbers she keyed. when the page is submitted this causes the "Type mismatch: 'CLNG'" on stmt if CLNG(RTRIM(strQty)) > 0 (since the * isn't numeric). Any idea what's happening -- no other users have encoutered this on the page (many users)?

Also seems to bypass the javascript edit that validates the value keyed is numeric.
if (isNaN(objqty)) {
objname.select();
objname.focus();
alert("Product " + ProdID + ": Invalid Order Quantity (must be Numeric - cannot be blank, alpha, ect.).");
return false}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top