CodeCharge Studio

Checkbox Overview

HTML

<input type="checkbox" name="Checkbox1" value="1" {Checkbox1}>

Image

Description

A checkbox is used to toggle the selection of an option. It can also be viewed as a Boolean or On/Off control. An ordinary HTML checkbox always submits a value of 'on' when checked. If a checkbox is unchecked when the form is submitted, the checkbox control is termed as unsuccessful and does not submit any value at all.

CodeCharge Studio expands on the functionality of the default HTML checkbox by enabling the user to specify arbitrary values to be associated with the checked and unchecked states of a checkbox.

See also

Checkbox Reference


On-line, printable versions and updates