INPUT /  OUTPUT /  LANGUAGE





checkBox tag

Presentation container tag

Displays a square check box that the user can tick or untick.

Sample usage

Fields

Primary field

Presentation container field

The label displayed next to the check box.

Secondary fields

Behaviour

Clicking the box or its label toggles state between true and false. When the box's onClick code runs, state already holds the new value.

Example

<sound:checkBox state=true onClick=<putLn {/sound }, sound.state> {Sound effects}>

See also