<cfif url.page NEQ 'test' OR url.page neq 'tech' OR url.page neq 'contact'>

OR

<cfset CheckList = "test,page,contact">
<cfif NOT ListFind(CheckList,URL.Page)>

Cheers

  ----- Original Message -----
  From: Eric Creese
  To: CF-Talk
  Sent: Thursday, October 16, 2003 2:06 PM
  Subject: Dumb Question

  I have a dumb question. when using CFIF I want to check against multiple criteria.

  Example:
  <cfif url.page NEQ 'test' OR 'tech' OR 'contact'>

  I get an error when doing this. can some post the correct way to do this.

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to