Boolean field

The Boolean field is used for storing a boolean value (true or false).

Usage in CTD:

<Field name="IsSystemContent" type="Boolean">
...
</Field>

Configuration

There are no specific properties defined for this Field Control besides the common properties.

Fully featured example

<Field name="RequiresRegistration" type="Boolean">
<DisplayName>Requires registration</DisplayName>
<Configuration>
<VisibleBrowse>Hide</VisibleBrowse>
<VisibleEdit>Show</VisibleEdit>
<VisibleNew>Show</VisibleNew>
</Configuration>
</Field>

The above example configures the Reference Field so that:

  • display name will be Requires registration
  • the field will be hidden on browse view but it will be visible in edit and new view.

React field controls

Boolean field's default React field control is the Boolean control. On how to use it, see the related docs