> Check out the ListContainsNoCase()function.  I believe that this may do it
> for you:
>
> <cfif ListContainsNoCase(mylist, optionvalue)> selected</cfif>

Try to avoid ListContains unless you MUST use it - an example of why to use
ListFind instead is;
If you have product IDs that run from 1 to 100, and have them all on
checkboxes on a page, using ListContains on the value "1" will return 1, 10,
11, etc. etc.
Using ListFind only returns it if the list entry is the same as the item
you're looking for

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to