This should do it (without testing, off the top of my head):

<cfloop
list="#form.FieldNames#"
index="TheFormField">
<cfscript>
if (len(FORM[TheFormField])) {
my.FieldValue=FORM[TheFormField];
}
</cfscript>
</cfloop>

Scott
--
-----------------------------------------
Scott Brady
http://www.scottbrady.net/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to