Menu

Checkbox

Jim Saxton

Checkbox

The Checkbox type is used for a ON / OFF selection.

checkbox

chk.type = checkbox
chk.default = 1
chk.label = This is the checkbox prompt
chk.tooltip = Yes, its that simple!

checkbox widget

A checkbox

checkbox will return "name=ON", or name=OFF, In this case chk=ON or chk=OFF

.label The prompt for the user that identfies what information is being requested. If the label is longer than the width of the window, the window will be resized.

checkbox widget

A checkbox with a long label

.default Sets the checkbox selected.

.tooltip Set a tooltip for the checkbox.

Checkboxes are usually presented in a group for related ON/OFF selections.

checkbox widget

A group of checkboxes

Back Next


MongoDB Logo MongoDB