Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

<CSP:ELSE>

Delimits an ELSE block.

Synopsis

<CSP:IF>...<CSP:ELSE>...</CSP:IF>

Description

The CSP:ELSE tag, placed within a CSP:IF block, specifies that the text between it and the end of the CSP:IF are displayed if the CSP:IF CONDITION evaluates to FALSE at runtime.

For example:

  <CSP:IF CONDITION=(name="Jack")>
    Hello, Jack!
  <CSP:ELSE>
    Hello, someone who is not Jack!
  </CSP:IF>

Refer to the CSP:IF tag for more details.

Specifying Script Language

The CSP:ELSE tag will fire one of two rules depending on whether the language is set to cache or basic; these two rules are %ELSE and %ELSEBASIC.

FeedbackOpens in a new tab