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]
- Stupid evaluate() question Matt Robertson
- RE: Stupid evaluate() question Mark A Kruger
- Re: Stupid evaluate() question Matt Robertson
- Re: Stupid evaluate() question Scott Brady
- Re: Stupid evaluate() question Barney Boisvert
- Re: Stupid evaluate() question Matt Robertson
- Re: Stupid evaluate() question Barney Boisvert
- RE: Stupid evaluate() question Tangorre, Michael