Last updated: Dec 04, 2023

The checkbox element presents the user with a checkbox to check (or not).

The checkbox element can also be used in forms.

The value of the checkbox is 1 if it's checked. You can access the value in the section by echoing the elements name.