Last updated: Tue, 21 Sep 2021 20:35

Description

  • Class for this input: Berlioz\Form\Type\Checkbox
  • HTML equivalent: <input type="checkbox">

Additional options

All commons 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