Lucee Tag Reference

Tag <CFCASE>

Handle one case of a cfswicth

Body

This tag must have a body.

Example

<cfcase
	[delimiters=string]
	value=string>
</cfcase>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
delimiters string No Specifies the character that separates multiple entries in a list of values. 
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.