<cfloop list="form.fieldnames" index="this">
 
          <cfoutput>
                  #this#=#form[this]#<br>
          </cfoutput>
 
</cfloop>

I'll get Raymond Camden on you if you're not careful.

> -----Original Message-----
> From: Matt Horn [mailto:[EMAIL PROTECTED]]
> Sent: 12 August 2002 15:05
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] Looping over form - syntax?
> 
> 
> Hi
> 
> 
> <cfloop list="form.fieldnames" index="this">
> 
>          <cfoutput>
>                  #this#=#evaluate(this)#<br>
>          </cfoutput>
> 
> </cfloop>
> 
> 
> 
> At 15:06 12/08/02 +0100, you wrote:
> >Hi,
> >
> >Just trying to loop over a form and can only seem to get the 
> fieldnames 
> >and not the values.  How do I do this?
> >
> >So far I have:
> >
> ><cfloop collection="#form#" item="i">
> ><cfoutput>#StructFind(form, i)#<br></cfoutput>
> ></cfloop>
> >
> >Any ideas?
> >
> >Thanks
> >
> >Dave
> >
> >
> >============================================
> >Phipps CF Development
> >Oxford, Oxfordshire.
> >Telephone: +44(0)7718 896696
> >http://www.phipps-cf.co.uk
> >============================================
> >
> >
> >--
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >For human help, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to