This is interesting Jeff,

I'm also running MX7, and although I've not tested any of my forms, I do have a 
function that returns a structure and it changes all the element names to upper 
case, but I have other functions that return structs in their original case, it 
IS odd.

Rob

-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED] 
Sent: 21 March 2007 14:26
To: CF-Talk
Subject: Form Field Names in Upper Case?

Back in the CF 5 days, when you submitted a form, ColdFusion would convert the 
form field names to all upper case.  In CF MX, this was supposed to be fixed 
such that the original case would be maintained.  I am running CF MX7 and am 
running into this issue again.  If I run the following example, the text field 
name starts as 'testFieldName', but dumping the form.fieldnames results in 
'TESTFIELDNAME'.  Why?

--------------------------------------------------------

<html>
<head></head>

<body>

<cfif isDefined('form')>
        <cfdump var="#form#" />
</cfif>

<form action="formTest.cfm" method="POST">
        <input type="text" name="testFieldName" value="" />
        <input type="submit">
</form>

</body>
</html>

--------------------------------------------------------

I am returning these field names to the user interface when then uses them for 
dom manipulation and Javascript is throwing a fit because the two field names 
don't match.

Any ideas?

Thanks
-- Jeff



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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

Reply via email to