Gets or sets if a checkbox is required to be checked.
If required
is true
, the checkbox is only valid if it is
checked.
If required
is false
, the checkbox is always valid.
You can also set a checkbox to be required by using the element's Settings pane in the Editor.