How To
Documentation
    Learn More

      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

      ParamTypeDetails
      labelstring

      The label for the textarea

      fieldstring

      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