**untested**

<cfif theField IS NOT "submit">
    <cfset theMethod = theObject["set" & theField] />
    <cfset theMethod(theField) />
</cfif>

I don't use cfinvoke, so I may have the syntax a bit wrong...

<cfinvoke component="#theObject#" method="set#theField#">
    <cfinvokeargument name="#theField#" value="#theField#" />
</cfinvoke>

HTH


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to