<cfcase>

Handle one case of a cfswicth

Usage

<cfcase
    [delimiters=string]
    value=string
><!--- body ---></cfcase>

This tag must have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
delimiters
(string, optional)

Specifies the character that separates multiple entries in a list of values.

value
(string, required)

One or more constant values that cfswitch compares to the specified expression case-insensitive comparison. If a value matches the expression, cfswitch executes the code between the cfcase start and end tags. Separate multiple values with a comma or other delimiter, as specified in the delimiters parameter. Duplicate value attributes are not allowed and causes a runtime error.

Examples

There are currently no examples for this tag.