Deanna, I didn't see your post till now. I did it with evaluate instead. I still have a problem; what if I have three options
<!-- radio button groups --> <form> <input type="radio" name="option1" value="#whatever#"> <input type="radio" name="option1" value="#whatever#"> <input type="radio" name="option2" value="#whatever#"> <input type="radio" name="option2" value="#whatever#"> <input type="radio" name="option3" value="#whatever#"> <input type="radio" name="option3" value="#whatever#"> </form> If I select option1 and option3 I get an error message that option2 is missing. I have to make my selection concurrent because of the loop. Any ideas? >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:231712 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

