The IsNumeric() approach is better than using RegEx. Less overhead.

> <cfif not isnumeric(form.job_amount)>
> <cfset error_message = "blah blah...">
> </cfif>
> 
> Isaac Dealey
> Certified Advanced ColdFusion Developer
> 
> www.turnkey.to
> 954-776-0046
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Reply via email to