CF7 always uppercases the field name keys in the FORM struct. If it 
causes you major issues you may want to create a hidden field that 
contains a list of your fields, then loop that in the result.

<cfloop index="VARIABLES.fieldIndex" list="#FORM.fieldList#">
      <cfset VARIABLES.foo = 
ListAppend(VARIABLES.foo,VARIABLES.fieldIndex & "=" & 
FORM[VARIABLES.fieldIndex] & "&") />
</cfloop>

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

Phill B wrote:
> I'm must be missing some thing here. I have a page that accepts
> variables from a flash file. It works great except that CF7 seams to
> be uppercasing all the form filed names.
> 
> i'm using this
> <cfloop index="field" list="#form.fieldNames#">
> <cfset foo = listAppend(foo, '#field#=#form[field]#', '&')>
> </cfloop>
> what am i doing wrong?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281638
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