I believe they are considered strings unless you specify otherwise. Try parseInt(document.editExemptions.SCEPTempExemptUnits.value) > parseInt(document.editExemptions.totalUnits.value)
-----Original Message----- From: Tim Do [mailto:TDo@;lahd.lacity.org] Sent: Thursday, October 31, 2002 8:57 AM To: CF-Talk Subject: OT js value validation document.editExemptions.SCEPTempExemptUnits.value > document.editExemptions.totalUnits.value I pass in SCEPTempExemptUnits as 2 and totalUnits as 16... Why would this think that 2 is greater than 16? It works if I pass in SCEPTempExemptUnits as 1 or 10.. Any ideas? Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm