Contents

cfcase

Description

Handle one case of a cfswicth

Category

Other

Implemented

Usage Syntax

<cfcase  
	value="String"
	[delimiters="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
value String Yes 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.
delimiters String No Specifies the character that separates multiple entries in a list of values.

Example Usage