He gave you an example: #form["fieldname" & counter]# Basically, the form scope is an array, so you in cases when you need to use a variable as a form name, you can use the bracket notation above to get the data without using evaluate. So, for example, if you had this form:
<form> <input type="text" name="option1" value="1"> <input type="text" name="option2" value="2"> </form> On your action page, you could get the values by looping: <cfoutput> <cfloop from="1" to="2" index="i"> form.option#i# = #form["option" & i]#<br> </cfloop> </cfoutput> Obviously, you'd make this more dynamic by passing a hidden var with the number of options, and then looping to that number, instead of hard-coding it. But, you get the idea. On 2/6/06, j s <[EMAIL PROTECTED]> wrote: > > Ian mentioned array notation, can anybody explain how to do this or a link > on an example? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231575 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

