CFPARAM

Used to declare variables and provide them with defaults if they are not found.

CFPARAM
Attribute

Description

NAME

The name of the parameter you are declaring (e.g., "Client.Email" or "Cookie.BackgroundColor")

DEFAULT

Default value to set the parameter to if it does not exist. The DEFAULT attribute is optional. If it is unspecified an error will occur if the parameter declared in NAME does not exist.

Examples

<CFPARAM NAME="Cookie.SearchString" DEFAULT=""> 
<CFPARAM NAME="Client.Color" DEFAULT="Grey"> 
<CFPARAM NAME="ShowExtraInfo" DEFAULT="No">