Boolean field (Simplified)
Defines a boolean field that can hold only one of two
values (true
or
false
) but may also be left
unspecified. A boolean field is displayed as a check box in
Content Studio.
Syntax
<field name="NCName" id="NCName"? type="boolean" > <constraints>...</constraints>? ANY-FOREIGN-ELEMENT* <parameter/>* </field>
Only one form of the constraints
element may be used:
Boolean constraints.
Attributes
name="
NCName"
-
The name of the
field
element. Note that no twofield
s belonging to the samepanel
may have the same name. id="
NCName"
(optional)-
The id of the
field
element. Set this attribute if you want to be able to reference this element using XInclude. Otherwise it is not required. type="
boolean"
-
Defines the type of the field.