How about:
<cfinput type="text" validate="integer" message="enter only numbers please">
Benekli20:20P21I2001
<-><CFSET NumberIwant = Replace(Form.Number, "$", "ALL")>
<->> But if the user types in $36000, then the val(grossincome) function
<->returns zero, because the first character isn't numeric.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists