I have done this.
<cfloop index="i" from="1" to="6" step="1">
<cfparam name="form.var#i#" default="">
</cfloop>

You can also do:
<cfloop index="i" from="1" to="6" step="1">
<input type="text" name="var#i#">
</cfloop>

HTH
Clint

Scott Wilhelm wrote:

> How would I create a dynamic FORM.variable?
>
>
> I am trying to call a series of variables from a form that are created
> through a loop, but I'm not sure how to write them out...
>
>
> Would it be something like this:  
>
>
> <cfloop index="i" from="1" to="6" step="1">
> #FORM.var & index#
> </cfloop>
>
>
> Thanks,
>
>
> Scott
>
> Scott Wilhelm
> Computer Technician/Web Developer
> http://www.sllboces.org
> <http://www.sllboces.org/>  /   <http://scott.sllboces.org/>
> http://scott.sllboces.org (digital desktop)
> [EMAIL PROTECTED]
>
> Canton (Mon/Tue)
> St. Lawrence-Lewis BOCES
> PO Box 231, 139 State Street Road
> Canton, NY 13617
> P.   315-386-4504 x 164
> F.   315-386-3395
>
> Heuvelton (Wed/Thu)
> Heuvelton Central School
> PO Box 375, 87 Washington Street
> Heuvelton, NY 13654
> P.   315-344-2414 x 3651
>
> Massena (Fri)
> Massena Central School
> Massena, NY
> P.   315-769-3700 x 3049<?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to