It does not - because CF passes along a copy of the value and not the object.value, it does not alter what's actually in the form. That's why it's such a problem.
-----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 3:29 PM To: CF-Talk Subject: Re: improved js for form validation? If you type 1+ into the field, and submit to a database, does the 1+ get inserted into your database, or does 1 get inserted into the database? If it's 1, then I can see the logic behind what CF is doing there. It's helping you by stripping any extra garbage that might be associated with an integer (currency symbols etc.). As long as what's left after the garbage is stripped off validates ok, it will pass through. This relieves you of the need to do that stripping yourself. But this seems somewhat arbitrary, and could lead to unexpected results, so it's probably best not to rely on it. -- Josh This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272063 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4