Properties of optional Field
The <optional> field has all the common properties as well as ones listed below. Refer to <optional> Field chapter for detailed description.
Property Name
Allowed type / value
DSL Version
Required
Default Value
Description
defaultMode
"tentative", "missing", "exist"
1
no
tentative
Default mode of the field. See also Default Mode Strings below.
cond
string
1
no
Condition when the field exists.
Inner field must be specified using field property or as child XML element.
Extra child XML elements allowed:
XML Element
DSL Version
Description
<field>
1
Wraps member field.
<cond>
1
Condition when field exists.
<and>
1
Logical "and" of conditions.
<or>
1
Logical "or" of conditions.
Default Mode Strings
Mode
Accepted Values (case insensitive)
Tentative
"tentative", "tent", "t"
Missing
"missing", "miss", "m"
Exist
"exist", "exists", "e"
Last updated
Was this helpful?