content:boolean

Description

Creates a checkbox boolean

Usage

as element:
<content:boolean
       label="{string}"
       field="{string}"
       [true-value="{string}"]
       [false-value="{string}"]>
</content:boolean>

Parameters

Param Type Details
label string

The label for the textarea

field string

The name of the field.

true-value
(optional)
string

The value to use when true, (default: true)

false-value
(optional)
string

The value use when false, (default: false)

Example

Source



Demo