Regular radiobutton field that represents an on/off status.


Properties


Description

backgroundColor

Bootstrap color of the background

checked

Represent current default status

checkedValue

Checked value (value internal)

default

Default value

form

The form, the field applies to

inline

Used in inline form (deprecated)

label

label to display

labelBackgroundColor

Bootstrap color of the background

labelColor

Bootstrap color of the label (font)

labelPosition

Position of the label

required


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