[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

default (Default Checkbox Form Field State)

This element specifies the default checkbox state for the parent checkbox form field. This value determines the checkbox state when its current run contents are empty (i.e. there is not actual content within the drop-down list).

If this element is omitted, then the current checkbox form field shall have a default value of 0 (unchecked).

[Example: Consider the following WordprocessingML fragment for a checkbox list form field:

<w:fldSimple w:instr="FORMDROPDOWN">
<w:ffData>
<w:checkBox>
<w:default w:val="true" />
</w:checkBox>
</w:ffData>
</w:fldSimple>

The default element specifies the default state of the checkbox form field to be true.Since the form field does not contain any run content, this is the state which shall be displayed when the contents of the form field are displayed by an application. end example]

Parent Elements

checkBox2.16.7)

 

Attributes

Description

val (On/Off Value)

Specifies a binary value for the property defined by the parent XML element.

 

A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

 

A value of off, 0, or false specifies that the property shall be explicitly turned off.

 

[Example: For example, consider the following on/off property:

 

<w:… w:val="off"/>

 

The val attribute explicitly declares that the property is turned off. end example]

 

The possible values for this attribute are defined by the ST_OnOff simple type2.18.67).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_OnOff">

   <attribute name="val" type="ST_OnOff"/>

</complexType>