Validating Data

2007-06-17 Thread Robert Rawlins
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

Re: Validating Data

2007-06-17 Thread robert . rawlins
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

RE: Validating Data

2007-06-17 Thread Bobby Hartsfield
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. 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

RE: Validating Data

2007-06-17 Thread robert . rawlins
)# /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

Validating data from users in multiple countries

2006-06-26 Thread Aidan Whitehall
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

RE: Validating data from users in multiple countries

2006-06-26 Thread Andy Matthews
--//- -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

Re: Validating data from users in multiple countries

2006-06-26 Thread Aidan Whitehall
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

Re: Validating data from users in multiple countries

2006-06-26 Thread Aidan Whitehall
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:

Re: Validating data from users in multiple countries

2006-06-26 Thread Claude Schneegans
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

RE: Validating data from users in multiple countries

2006-06-26 Thread Andy Matthews
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