>Is there a way, to create a collection of all form elements, and
>then to loop through them, pulling out the values tied with them?


<CFIF IsDefined("form.FieldNames")>

<P><B>Form variables</B></P>

<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="1">

<CFLOOP LIST="#form.FieldNames#" INDEX="TheKey">
<TR>
   <TD><P><CFOUTPUT>form.#TheKey#</CFOUTPUT></P></TD>
   <TD><P><CFOUTPUT>#Evaluate("form." & TheKey)#</CFOUTPUT></P></TD>
</TR>
</CFLOOP>

</TABLE>
</CFIF>


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to