<cfif listContainsNoCase(prohibited_words, form.name,
',') eq 0>
        NO!, Occurance Not Found.
<cfelse>
        Yes!, Occurance Found.
</cfif>

Also if you are new to CF, consult the CF
documentation. Specially if you are looking for a
function by category. Use 
CFML Reference--> ColdFusion Fuunctions --> Functions
By Category.

You will get answer of lot of similar problems
quickly.

--Kamran


--- [EMAIL PROTECTED] wrote:

> Hi to all, 
> 
> I'm relatively new to CF and am trying to compare
> the value of a form field 
> (form.name) with a values of a list to see if the
> name entered in the form 
> field matches a name in the list. I am using a CFSET
> variable to store the 
> list values. 
> 
>


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:579
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to