> Original code: newValue was being created inside the cfif's, but was > not there in the last CFSET.
You are right. It should before the cfif. > Also, form.FieldNames were not being found > until I added the loop before the CFIF's. That should not happen. As long as the form was submitted, I believe the form.fieldNames variable should always exist. Also the extra loop is not needed and may even produce the wrong results. > What I get though are x's in the first column only if the > first column stayed selected. I think the previous code should work. At least once you get rid of the extra loop and move the newValue variable declaration. But maybe I am not understanding what you mean by "columns". Any way you can provide a small example? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301988 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

