Can you send a larger chunk of the code? I cant tell if this code is in a loop or not.
Also the value getMemberEmailGroupsRet.GroupID I am assuming this is from a query? In any case, something above this is probably the cause of your problem. Best guess, the GroupID is not getting incremented, if it needs to. Or the x value isn't getting incremented... It's hard to tell from this small sample. On 1/31/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > > 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? > > -- > Bruce Sorge > > "I'm a mawg: half man, half dog. I'm my own best friend!" > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:268263 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4