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 15 Current »

Checkbox

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

Attributes

NameDescriptionValue
id

Unique Identifier.

Any
labelA label that is positioned above the checkbox.Any
sidelabelA label that is positioned on the right side of the checkboxAny
colspanThe number of columns the checkbox spans. The default value is 1.numeric
visiblemodesThe modes the checkbox will be visible.A comma-separated list of the modes (read, new, edit)
visibilityconditionsThe conditions that should be met in order to display the checkbox .'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
readonlyconditionsThe conditions that should be met in orderfro the checkbox to be readonly.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
readonlyIf is true then the checkbox is in read mode and the user cannot change the value.true or false
datapathThe data path field name.Needs to correspond to the CRMDO object field
datatypeThe type of datapath field.java.lang.Integer, java.lang.String, ...
refreshThe 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

truevalueThe value to be assigned on the datapath when the checkbox is checked.Any
falsevalueThe value to be assigned on the datapath when the checkbox is not checked.Any
truelabelThe label of the checked checkbox in read mode.Any
falselabelThe label of the non checked checkbox in read mode.Any
defaultvalueThe default value to be assigned on the datapath.Any
onchangeDefines the function call(s) triggered when the checkbox value changes.<functions>…</functions>

Example

 Checkbox

 

Checkbox
<checkbox>
	<id>uniquePersonName</id>
	<label></label>
	<sidelabel>Name</sidelabel>
	<datapath>uniquePersonName</datapath>
	<datatype>java.lang.Integer</datatype>
	<truevalue>1</truevalue>
	<falsevalue>0</falsevalue>
	<truelabel>Yes</truelabel>
	<falselabel>No</falselabel>
</checkbox>  
  • No labels