> Well , i know the cf variables are typeless.
> 
> But i want to use a Form variable (text box) in a CFLOOP
> 
> Ex
> 
> CFLOOP .... "1" to "FORM.number"
> 
> where Form.number is a textbox

You'll simply have to evaluate Form.number in your CFLOOP's TO attribute:

<cfloop index="i" from="1" to="#Form.number#">

Note the pound signs.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to