Rick,

Do you have any examples of using onsubmit() that I could see?
Is this Java script?
I haven't done much Javascript and want to keep this as simple as possible.
As for right now, I parse the field myself and pull out non-numerics (dollar
sign and commas)
but this leaves the user with a fatal error if they enter letter OH or any
other non-numeric that I did not search for.

tia

Ed

----- Original Message -----
From: "Rick Root" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 8:33 PM
Subject: Re: commas in numeric fields...


> Ed,
>
> If there are dollar signs and commas in the value, CF's built in
> javascript validation functions will not work.  Programmatically
> speaking, it's not a number if it contains non-numeric characters.
>
> You could write your own validationg and access it through the
> onsubmit() of the form.
>
>   - Rick
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to