Tags:

Checkbox

The Checkbox function creates a checkbox which, when checked, contains a tick. As with the Reactor Button function, no conditional formatting is needed to disable or hide it.

Checkbox("fieldName" {; currentValue ; fieldActivevalue ; status ; bgColor })

Parameters:

1 fieldName Name of the field for the Checkbox. Needs to be in quotes and fully qualified, e.g. Table_Occurrence::Fieldname.
2 CurrentValue
(opt)
Text or a field containing the current value of the checkbox. If a field is used, it should not be in quotes.
3 fieldActiveValue
(opt)
The value that is given to this field when the checkbox is checked (e.g. "Yes").
4 status
(opt)
Text or name of a field containing "enabled" (the default), "disabled", or "hidden", or a calculation which returns one of those 3 values
5 bgColor
(opt)
Default is white, but you can specify the color: see "Background Color" in the "Basics" section.

Example: Checkbox( "Home::Registered" ; "" ; "Yes")