....it isn't variable names that you need to worry about in this special
case, just form (or url?) field names.  That, I think, is an important
difference. (And yes, it totally sucks to find out that you just spent a
day tracking down this issue. Been there.)
Thanks
        Mark

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 24, 2008 9:19 AM
To: CF-Talk
Subject: RE: The _ character in variable names

Peter...

the _ character is indeed legal in CF, but beware. The use of _ in
combination with certain key words, can trigger ColdFusion's built in
validation. Specifically when you're using it with words like "date" or
"time". I've spent hours trying to figure out why the validation was
being used when it turns out that the variable name itself was at fault.


andy

-----Original Message-----
From: Peter Donahue [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 1:12 AM
To: CF-Talk
Subject: The _ character in variable names

Hello everyone,

    I have an application I need to get up and running ASAP. We've been
trying to create it using PHP. Right now I feel like I'm Beowulf and
that PHP application is Grendle. I have created email applications using
ColdFusion and got them to run. I'm considering using ColdFusion to
sleigh that dragon so we can get the app up and running this weekend and
freeing us up to continue to debug the PHP version. It will also allow
the organization in question to carry on its business. Some of the
variable names include the _character such as first_name. Is this a
legal syntax in ColdFusion allowing me to use something like
#first_name# to designate the variables in the form processor? Thanks
for the help.

Peter Donahue


----- Original Message -----
From: "Charlie Griefer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, January 23, 2008 8:24 PM
Subject: Re: CF MX8: This is driving me nuts!!!


On Jan 23, 2008 12:24 PM, Rick Root <[EMAIL PROTECTED]> wrote:
> It's another reason I hate MS Access.  Retarded error messages.  And 
> that's an insult to retarded people everywhere.

hey i'm offended!

--
Evelyn the dog, having undergone further modification pondered the
significance of short-person behaviour in pedal depressed, pan-chromatic
resonance, and other highly ambient domains. "Arf," she said.







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297294
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to