You can try something like this: <cfif listFind( "1,2", type )> <a href=""> ... </a> </cfif>
or, a more verbose way, but it can end up being much longer if you add possibilities: <cfif type EQ 1 OR type EQ 2> <a href=""> ... </a> </cfif> Francois Levesque http://blog.critical-web.com/ On Mon, Jul 13, 2009 at 9:57 AM, Steven Sprouse <sspro...@ccboe.com> wrote: > > I need help figuring out how to display a link if an ID type is 1 or 2 (as > defined in by database) but not displaying the link if the ID type is 3 or > 4. I know this should be easy, but I keep screwing it up. > > The page that I'm working from is > http://www2.ccboe.com/schoolscenters/viewschool.cfm?id=22 (just picked an > ID at random). For elementary and middle schools I want to display a School > Supply link in the resources section at the bottom. For High schools and > centers, I do not want to display that link. > > Can anyone help me? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-talk/message.cfm/messageid:324460 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4