Documentation

Docs / Development / Boolean Field

Boolean Field

The Boolean Field is used for storing a boolean value (true or false) and boolean corresponds to switches in form of binary i.e. 1 correspons True and 0 corresponds to False .

Field Handler

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

Supported Field Controls

Boolean Field Control: a simple Checkbox control where the user can select the value to be true or false or we toggle the boolean value true or false.

Configuration

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

For a complete list of common Field Setting configuration properties see CTD Field definition.

Example/Tutorials

Fully featured example:

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

The above example configures the Reference Field so that:

Is something missing? See something that needs fixing? Propose a change here.