I have a set of textboxes in a form as

<cfloop from="1" to="10" index="curIndex">

<cfinput type="text" name="theTextBox_#curIndex#" value="" />
<cfloop>

On submitting the form, I need to get the value in each text box as

 <cfloop from="1" to="10" index="curIndex">

<cfset val = "Form.theTextBox_#curIndex#">

<cfloop>

However, this does not work , for each val I get Form.theTextBox_1 etc., it
is not fetching the value.

I also tried

<cfset val=#Form.theTextBox_curIndex#>

It did not work. Any ideas?

Thanks a lot.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:319164
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