What is x? Are you incrementing it? Perhaps that needs to be currentrow? Are you looping over a query? Otherwise getMemberEmailGroupsRet.GroupID will always return the value for the first record in the result set?
~Brad -----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 2:56 PM To: CF-Talk Subject: Check Boxes not checked I have this line of code3: <input type="checkbox" name="emailgroup" value="#EmailListArray[x][1]#" <cfif EmailListArray[x][1] IS getMemberEmailGroupsRet.GroupID> Checked</cfif>> As you can see it is supposed to do a comparison and if there is a match, the corresponding checkbox should be checked. But what it is doing is only checking the first box and no others. Can anyone tell me why this is happening? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

