---------- Original Message ---------------------------------- From: Drew Harris <[EMAIL PROTECTED]>
><cfform name="billy" action="#self#?fuseaction=#xfa.foo#"> ><cfoutput query="bob"> ><select name="#columnname#:thing"> ><option value="thing1">thing1</option> ><option value="thing2">thing2</option> ></select> ></cfoutput> ></cfform> >in a form, how would I output the values of each #columnname#:thing???? I'm assuming you mean on the action page of the form, right? <cfoutput> <cfloop collection="#FORM#" item="i"> #i# = #FORM[i]#<br /> </cfloop> </cfoutput> I'd have to test to verify that FORM is a structure, but I believe it is. If it's not, you can loop over the list FORM.fieldnames instead, but I think that would require the use of the Evaluate function. Scott -------------------------------- Scott Brady http://www.scottbrady.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

