Skip to content

CREPORTCHECKBOX

The CREPORTCHECKBOX formula is used to create a checkbox or switch in published reports. It stores either true or false in the cell so you can use it in other formula in your report.

Syntax

CREPORTCHECKBOX (Label, DefaultCheckedState, AutoCalc, Style, CSS)

Arguments

Label

This is the text label that will show to the right of the checkbox

Default value: “”  

DefaultCheckedState

The default state for the checkbox

Default value: false  

AutoCalc

Whether or not changes in the checkbox will recalculate the report.

Default value: false

Style

The style in which the checkbox shows. The available styles are:

  • Checkbox
  • Switch

Default value: Checkbox  

CSS

Additional CSS to apply to the element in the report.