--- breadcrumb: - Guides - Forms - Inputs - Checkbox summary-visible: false keywords: - form - input - checkbox --- # Checkbox ## Description - Class for this input: `Berlioz\Form\Type\Checkbox` - HTML equivalent: `` ## Additional options All [commons options](inputs.md#common-options), and: | Name | Type | Default value | Description | |---------------------|--------|---------------|-------------------------------| | **default_value** | string | "on" | Default value for input value | | **checked_value** | mixed | true | Value for checked input | | **unchecked_value** | mixed | true | Value for unchecked input | ## Attributes List of attributes that interact with the forms library: | Name | Type | Default value | Description | |-------------|---------|---------------|------------------------| | **checked** | boolean | *none* | If checkbox is checked |