Skip to end of banner
Go to start of banner

Checkbox

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

This element is used to display a check box on the page.

Attributes

NameDescriptionValue
id

Unique Identifier

any
visiblemodesThe modes the button should be visible.A comma-separated list of the modes read / new / edit
visibilityconditionsThe conditions that should be met in order to display the component.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
readonlyIf is true then checkbox is in read mode, cannot change value.true,false
datapath Needs to correspond to the CRMDO object field.
datatype The type of datapath field (java.lang.Integer, java.lang.String,...)
truevaluethe value to be assign on datapath when checkbox is checkedany
falsevaluethe value to be assign on datapath when checkbox is not checkedany
truelabelthe label of checked checkbox in read modeany
falselabelthe label of non checked checkbox in read modeany
defaultvaluethe default value to be assign on datapath.any

 

                      

Examples

CheckBox

 

Tab
<checkbox>
    <id>chkApplyRounding</id>
    <datapath>applyRounding</datapath>
    <truevalue>1</truevalue>
    <falsevalue>0</falsevalue>
    <truelabel>Yes</truelabel>
    <falselabel>No</falselabel>
    <refresh>page</refresh>
    <onchange>
        <functions>
            <function>
                <type>staticjs</type>
                <functionname>voidFunc</functionname>
            </function>
        </functions>
    </onchange>
</checkbox>           

 

 

  • No labels