logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by Jake Howlett on Wed 8 Jun 2005 in response to Form Validator R2.0

Re: Number Validation

Hi Simon,


Is there a trip to Denmark in the pipeline? ;o)


The code uses the inbuilt isNaN() funtion to work out if the value
isNotaNumber(). It's strange that a Danish installation of IE doesn't use their
system of writing number when validating. Not surprsising though.


We could maybe over-ride this function with our own regular expressions. This
wouldn't be as fool-proof but we can control what characters are allowed.


Jake