In CF MX 6.1, commas were not allowed on cfinput validation="integer". In CF MX 7.0.2, you can have commas. Unless you preserve the commas by storing them as a varchar in a database, they are typically removed when inserted into the database for you.
Teddy On 8/30/06, Loathe <[EMAIL PROTECTED]> wrote: > > I was gonna say, I thought an Int was just a whole number, meaning no > fractions or decimals correct? > > Commas should be allowed past that shouldn't they? > > > -----Original Message----- > > From: Dave Watts [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 30, 2006 10:42 AM > > To: CF-Talk > > Subject: RE: CFForm Integer Validation Allowing Commas > > > > > > > I have a CFINPUT tag using the validate="integer" attribute > > > and this is allowing commas in the input field to get past > > > the validation. Of course I can add my own additional code to > > > reject the commas, but I didn't think I had to, I thought > > > that was what the integer validation was for. Is this by > > > design? Why would anyone want this to be acceptable behavior? > > > > 1,234,567 is a valid integer value, I think. > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf.com/ > > > > Fig Leaf Software provides the highest caliber vendor-authorized > > instruction at our training centers in Washington DC, Atlanta, > > Chicago, Baltimore, Northern Virginia, or on-site at your location. > > Visit http://training.figleaf.com/ for more information! > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

