> reason I can't figure this out. I have a basic form where
> I output a list of name/value pairs for editing (i.e.,
> name=value). However, I am dependent on maintaining the
> casing of the var name. I have made the form field name
> the name of the variable, but when I post the form, all
> the field names come in upper cased. I want to be able to
> do something like this:
>
> <cfloop collection="#Form#" item="formField">
> #formField#=#Form[formField]#
> </cfloop>
>
> but the #formField# casing is always "NAME" instead of "Name"
> or "name". I have tried a number of different ways of getting
> at the form field namew (the above way, looping over the
> Form.fieldnames variable, using cfscript's "for fieldname in
> Form" syntax), but it's always upper cased. Is there a way
> to preserve the casing? I really don't want to have to create
> a structure mapping or some such workaround with the properly
> cased names if it's not necessary.
CF creates these variables for you, and for variables created by CF you have
no control over case, as far as I can tell.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

