do a
<CFIF url.site&url.whatever&url.hehe&url.hoohoo&url.lala CONTAINS "goofy">
LAUGH!!!!
</CFIF>
see, that way, it puts all of the url vlaues into a string and searches for
goofy hehehehe
>From: "Josh R" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: How to Cover All URL and Form Attributes?
>Date: Fri, 15 Jun 2001 17:38:49
>
>Two part question. They are related
>
>Part 1:
>
>Let's say you have a page with lots of URL variables. (I.E. url.search,
>url.lang, url.homepage, url.custscript, url.start, url.end, url.frontscope,
>etc. etc. etc.)
>
>And you don't want to code a CFIF for each URL seperately for the same
>parameter.
>
>(cfif url.search CONTAINS "goofy")
>do this
>(/cfif)
>(cfif url.lang CONTAINS "goofy")
>do this
>(/cfif)
>(cfif url.hompage CONTAINS "goofy")
>do this
>(/cfif)
>(cfif url.start CONTAINS "goofy")
>do this
>(/cfif)
>
>Is there a way to just say:
>
>(cfif attribute.url CONTAINS "goofy")
>do this
>(/cfif)
>
>Or something similar?
>
>
>Part 2:
>
>Is it possible to also encompass all form.* attributes in one shot? Similar
>to the question above?
>
>Thanks.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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