May be this is what you are looking for...
<cfform>
        <cfloop from="1" to="10" index="curIndex">
                <cfinput type="text" name="theTextBox_#curIndex#" value="" 
/><br/>
        
        </cfloop>
                <cfinput type="Submit" name="Submit" value="Submit" />
</cfform>

<cfif isDefined("form.Submit")>
        <cfloop list="#form.fieldnames#" index="i">      
        <br/>
        <!--- <cfoutput>#Form[i]#</cfoutput> --->
        <cfset va1 = "#Form[i]#">
        <cfoutput>#va1#</cfoutput>
        </cfloop> 
</cfif> 

>>
>> <cfset val = "Form.theTextBox_#curIndex#">
>
>All that does is set "val" to a string, not the actual form value.
>
>Use this:
>
><cfset val = form["theTextBox_#curindex#"]>
>
>or if you prefer, this:
>
><cfset val = evaluate("form.theTextBox_#curIndex#")>
>
>But if you evaluate, people with harass you. =)
>
>Rick
>
>
>-- 
>Rick Root
>New Brian Vander Ark Album, songs in the music player and cool behind
>the scenes video at www.myspace.com/brianvanderark 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319184
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to