It's CF_EMBEDFIELDS.  I based a form-to-struct tag on its logic.  Cool
stuff!

(I know in 4.5 form is a struct, but we're dealing with 4.0 here)

Do a search for "Forta" in the DevEx, and you'll find some nice derivatives
of his works.

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-----Original Message-----
From: Daniel Lancelot <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Thursday, December 07, 2000 9:13 AM
Subject: RE: variables passed en masse - what is the tag?


>There is a tag, i've used it - its available on allaire tag gallery - I
>believe its written by Ben Forta - cant remember whatits called... very
>simple though - loops through #form.formfields# creates an <input type =
>hiidden...> for each one...
>
>:> -----Original Message-----
>:> From: Walker, Matthew [mailto:[EMAIL PROTECTED]]
>:> Sent: 07 December 2000 03:49
>:> To: CF-Talk
>:> Subject: RE: variables passed en masse - what is the tag?
>:>
>:>
>:> > >I remember several replies to a previous question where a
>:> > tag was referenced
>:> > >that gathered all the variables on a form and passed them to
>:> > subsequent
>:> > >pages
>:> > >what was that tag - I hope I'm not dreaming but it would
>:> > help to replace
>:> > >hidden fields.
>:>
>:> How about something like.... (needs CFServer 4.5)
>:>
>:> <cfloop item="ThisField" collection=#Form#>
>:> <input type="hidden" name="#ThisField#"
>:> value="#Evaluate("Form.#ThisField#")#">
>:> </cfloop>
>:>
>:>
>:>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to