Can I loop over the form vars and build the cfarg list first thing? No Maybe there is an alternative to this?
Create one cfargument called formData or something with a type of struct and pass your form structure to that. Inside the function just referance the values like you would the form struct. Arguments.formData.formFieldName The bad thing about this is that you will have to do your type checking before it's passed to the function. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Wilson Sent: Sunday, January 11, 2004 11:35 PM To: [EMAIL PROTECTED] Subject: [CFCDev] cfargument question All, I am using a CFC to process several very long and complicated forms. Is their a way to loop over the form var list to build out the cfarguments in the cfc dymanically? For some reason, I think this is possible, so I figured I would ask before I waste more than 2 hours I have spent to far. Can I loop over the form vars and build the cfarg list first thing? Maybe there is an alternative to this? -ben ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
