Hi, all...

Is there some way I can use 'fieldname' as a variable
for the fieldnames in a form as I loop over the form?

<cfif left("#fieldname#", 5) eq "image" and len(trim(form.fieldname))>

It's "fieldname" in the code after the "and"...

Using it as it is, I get the error.
"Element FIELDNAME is undefined in FORM.", which seems natural that I would
get that error, but I can't figure out how or if I can make it a variable,
something like form.#fieldname# (which didn't work, by the way...)

Thanks,

Rick






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

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