<cfsavecontent>

Saves the generated content inside the tag body in a variable.

Usage

<cfsavecontent
    [append=boolean]
    variable=string
    [trim=boolean]
><!--- body ---></cfsavecontent>

This tag must have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
append
(boolean, optional)

if true, the saved content will be appended to an already existing variable instead of overwriting it.

variable
(string, required)

The name of the variable in which to save the generated content inside the tag.

trim
(boolean, optional)

trim result

Examples

There are currently no examples for this tag.