Found it: <input type="checkbox" name="allst" <cfif listFind(form.allst,allstates.statename)>checked</cfif> value="#allstates.statename#"> #allstates.statename#<br />
FYI - If using <input> tag you just need the word 'checked' to appear within the tag for the item to be checked (this is why it was checking all of them, whether we put checked=yes or checked=no didn't matter to the <input> tag. <cfinput>, on the other hand is checked="true" or checked="false". That's why it wasn't working either way. Sorry about that! Dave -----Original Message----- From: Barry Mcconaghey [mailto:[email protected]] Sent: Wednesday, July 15, 2009 10:28 PM To: cf-newbie Subject: Re: Session Variables Here you go: http://code-bin.homedns.org/331 Thanks, Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4647 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
