Hello Guys,
I feel like a bit of a putts for asking this, but its the first time I've done
any validation code for a while and I'm feeling a little rusty. I have a string
which I need to ensure contains no spaces, only letters with NO special chars
or numbers.
I was hoping to put each of
Sorry, I should probably have mentioned that I'm after CFML server-side
validation and not a client side solution.
Thanks,
Rob
Hello Guys,
I feel like a bit of a putts for asking this, but its the first time I've
done any validation code for a while and I'm feeling a little rusty. I
have a
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:05 PM
To: CF-Talk
Subject: Re: Validating Data
Sorry, I should probably have mentioned that I'm after CFML server-side
validation
)#
/cfoutput
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:05 PM
To: CF-Talk
Subject: Re: Validating Data
Sorry, I should probably have mentioned
Our web site is going to have to be able to accept data entered in
form fields from users in different locales; we're looking at English
(UK) and Spanish (Standard) for starters.
For English users, '.' will be the decimal point character. If
Window's Regional and Language Options is to be
--//-
-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 9:46 AM
To: CF-Talk
Subject: Validating data from users in multiple countries
Our web site is going to have to be able to accept data entered in
form fields from users
I can't comment on the function itself, but the language options is correct.
Europe uses a comma in place of the decimal point in many cases.
Hmm.. k, thanks Andy.
There are no comments on the 6.1 LiveDocs to the effect that
lsParseNumber() is bust... I'm downloading a trial of 7 to see if
Sheesh... I'm a twit...
cfset setLocale = Spanish (Standard)
shoulda been
cfset setLocale(Spanish (Standard))
Whaddya know... it works :-)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244780
Archives:
There are no comments on the 6.1 LiveDocs to the effect that
lsParseNumber() is bust... I'm downloading a trial of 7 to see if
it's any different in that.
I have tested your code under both CF6 and CF7, and I get 1200.15 in
both cases.
CF5 is protesting that Parameter 1 of function
26, 2006 10:48 AM
To: CF-Talk
Subject: Re: Validating data from users in multiple countries
Sheesh... I'm a twit...
cfset setLocale = Spanish (Standard)
shoulda been
cfset setLocale(Spanish (Standard))
Whaddya know... it works
10 matches
Mail list logo