This is one that I wrote a while back, it seems to work pretty good. Could
be dropped into a custom tag I guess.
<cfloop list="#fieldnames#" delimiters="," index="formitems">
<cfoutput>
<cfif not formitems eq "fuseaction">
<cfif #evaluate('form.#formitems#')# gt "">
<input type="hidden" name="#formitems#"
value="#trim(evaluate('form.#formitems#'))#">
</cfif>
</cfif>
</cfoutput>
</cfloop>
-----Original Message-----
From: Hal Helms [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:08 PM
To: Fusebox
Subject: OT: multi-part forms
***************************** Team Allaire *****************************
FBers,
Isn't there a custom tag that takes any existing form fields and turns these
into hidden form fields for passing along in a multi-part form?
Hal Helms
Programmer goodies/training at www.halhelms.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists