A group of regular checkbox fields that represents an on/off status. As a checkbox or 'switch'. In case of a database field, the checkbox options represent one field. The values are stored with a given delimiter. For separate fields, use the regular checkbox.

Properties


Description

backgroundColor

Bootstrap color of the background

borderColor

Bootstrap color of the border

borderRadius

Bootstrap radius of the corner

checkedValue

Checked value (value internal)

dataField

(DB) Datafield name of the database field receiving the value

dataSource

(DB) Datasource that refers to the table.

form

The form, the field applies to

inline

Used in inline form (deprecated)

items

List of checkbox labels. Each row will be represented as one checkbox with a label. The value of this field will be all checked fields, separated by a ;

label

label to display

labelBackgroundColor

Bootstrap color of the background

labelColor

Bootstrap color of the label (font)

labelPosition

Position of the label

required


switchBox

Checkbox shown as switchbox

textColor

Bootstrap color of the text.

uncheckedValue

Unchecked value (value internal)

PHP Events


Description

onBlur

Triggers when the field gets focus (icw JS event)

onChange

Triggers when the value changes (icw JS event)

onClick

Triggers when the field looses focus (icw JS event)

onFocus

Triggers when the field gets focus (icw JS event)

JavaScript Events


Description

onBlur

see Server events. Javascript placeholder to trigger the Server event

onChange

see Server events. Javascript placeholder to trigger the Server event

onClick

see Server events. Javascript placeholder to trigger the Server event

onFocus

see Server events. Javascript placeholder to trigger the Server event