IN CFML use the Int() function and in JavaScript do form.fieldname.value = parseInt(form.fieldname.value).
Marc Campeau > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of A. Karl Zarudny > Sent: Thursday, May 23, 2002 3:16 PM > To: [EMAIL PROTECTED] > Subject: [CFTALKTor] off-topic Javascript question > > > Hi everybody. > > Anyone know how to check to make sure that a number entered in an input > field does NOT contain a decimal? > > Thanks, > Karl > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: "A. Karl Zarudny" > <[EMAIL PROTECTED]> > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) > http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) > > - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "Marc Campeau" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
