Checkbox
This element is used to display a check box on the page.
Attributes
Name | Description | Value |
---|---|---|
id | Unique Identifier. | Any |
label | A label that is positioned above the checkbox. | Any |
sidelabel | A label that is positioned on the right side of the checkbox | Any |
colspan | The number of columns the checkbox spans. The default value is 1. | numeric |
visiblemodes | The modes the checkbox will be visible. | A comma-separated list of the modes (read, new, edit) |
visibilityconditions | The conditions that should be met in order to display the checkbox . | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
readonlyconditions | The conditions that should be met in orderfro the checkbox to be readonly. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
readonly | If is true then the checkbox is in read mode and the user cannot change the value. | true or false |
datapath | The data path field name. | Needs to correspond to the CRMDO object field |
datatype | The type of datapath field. | java.lang.Integer, java.lang.String, ... |
refresh | The parts of the page that should be refreshed when the checkbox is clicked. | page mainmenu main details tab,tabID component,is_on_tab:is_on_menu:tabID:componentID element,is_on_tab:is_on_menu:tabid:componentID:elementID section,sectionID area,areaID |
truevalue | The value to be assigned on the datapath when the checkbox is checked. | Any |
falsevalue | The value to be assigned on the datapath when the checkbox is not checked. | Any |
truelabel | The label of the checked checkbox in read mode. | Any |
falselabel | The label of the non checked checkbox in read mode. | Any |
defaultvalue | The default value to be assigned on the datapath. | Any |
onchange | Defines the function call(s) triggered when the checkbox value changes. | <functions>…</functions> |