When submitted, the FORM scope will contain these form fields. CF can access them using the CFLOOP COLLECTION attribute.
m!ke -----Original Message----- From: Richard Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 6:14 AM To: CF-Talk Subject: Loop over field names Hi All, Having brain freeze on this... Basically have a form, part of the form is populated from a query within an unknown number of field elements. The form code snippet would look something like this. <cfoutput query="someQuery"> <input name="anID#currentRow#" value="#anID#" /> <input name="someField#currentRow#" value="#someFieldValue#" /> <input name="otherField#currentRow#" value="#otherFieldValue#" /> </cfoutput> I want to be able to take the form and run either update or creates for the form. How would I go about referencing the form fields to insert/update my DB? Thanks, R ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309049 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

