Sehlmeyer, Jason wrote:
> I was thinking using something similar to:
> #ListGetAt(form,1,'_')#
>
> But that gives me an error due to complex object type:
> Complex object types cannot be converted to simple values

For this part you don't parse the form structure but rather each 
individual field name.  You will need to somehow loop over each of the 
field names and parse them one by one.  The two main ways to do this is 
to loop over the form.fieldNames list OR the for structure keys.

<cfloop list="#form.fieldNames#" index="field">...</cfloop>
OR
<cfloop collection="#form#" item="field">

Then inside the loop you would use the list functions on the 'field' 
variable.
I.E.
<cfoutput>
#listGetAt(field,1,'_')#
#listGetAt(field,2,'_')#
#form[field]#
</cfoutput>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:302498
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