for(key in form) {
        if(listFindNoCase(form.roles,key)) writeOutput(key & "<br>");
}

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Trent Shepherd [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 25, 2003 10:37 AM
> To: CF-Talk
> Subject: cfscript help
> 
> 
> I am having a block on rewriting the following in cfscript
> 
>  
> 
> <cfloop list="#form.fieldnames#" index="fnames">
> 
>             <cfif ListFindNoCase(form.roles,fnames,",")>
> 
>                         <cfoutput>#fnames#<br></cfoutput>
> 
>             </cfif>
> 
> </cfloop>
> 
>  
> 
>  
> 
> thanks in advance
> 
>  
> 
> trent
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to