variables[ListGetAt(my.DefaultValue,my.LoopCounter)]
If you're in a CFC method (which I suspect), that won't work, because
you can't explicitly reference the local variables scope.
cheers,
barneyb
On Tue, 28 Sep 2004 12:58:48 -0700, Matt Robertson
<[EMAIL PROTECTED]> wrote:
> Thanks all. Worked marvelously and I felt silly for asking, but just
> couldn't think it thru this morning.
>
> If I could pester the list for one more (rtfm I know, but the docs I
> found were sparse),
>
> <cfset my.loopcounter=0>
> <cfloop
> list="#my.Fields#"
> index="FieldName">
> <input
> type="Text"
> name="#FieldName#"
> value="#Evaluate(ListGetAt(my.DefaultValue,my.LoopCounter))#">
> <cfset my.loopcounter=my.loopcounter+1>
> </cfloop>
>
> my.defaultvalue is another list whose position I'm getting via the
> loopcounter and value is coming from evaluate()ing the result of the
> listgetat()
>
>
>
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
I currently have 6 GMail invites for the taking
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

