on the action page...
<cfloop list="#form.fieldnames#" index="fieldname"> <cfset thisvariablename = "Form." & #fieldname#> <cfoutput>#fieldname# = #evaluate("#thisvariablename#")</cfoutput> </cfloop> -----Original Message----- From: Hays, Duncan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 8:18 AM To: CF-Talk Subject: Form field values on post I'm trying to post a form and then, on the page I'm posting to, loop thro ugh all the form fields and get the values. I've been shown form.formfields a nd that great for the names but how to I get the values out. I can't come up with the syntax. *I'll use JavaScript prior to the submit if I have to but JS is slow on N T. Thanks Duncan Hays ______________________________________________________________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists