> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> How would I go about getting rid of evaluate() in this loop?  
> I'm having a brainlock.  must have gotten up too early today.
> <cfloop
> list="#form.FieldNames#"
> index="TheFormField">
> <cfscript>
> if (len(Evaluate(TheFormField))) {
> my.FieldValue=Evaluate(TheFormField);
> }
> </cfscript>
> </cfloop>

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

Mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to