<calcOnExit>
(Recalculate Fields When Current Field Is Modified)
If this element is omitted, then modification of the contents of the current field shall not result in all fields in the current document being recalculated.
<w:bookmarkStart w:name="Text1" … /> <w:fldSimple w:instr="FORMFIELDTEXT"> <w:ffData> <w:calcOnExit/> … </w:ffData> <w:r> <w:t>1</w:t> </w:r> </w:fldSimple> <w:bookmarkEnd w:name="Text1" … /> <w:fldSimple w:instr="=Text1+10"> <w:r> <w:t>11</w:t> </w:r> </w:fldSimple>
The first field above (the text form field) has a current value of 1
, but also has the <calcOnExit>
element present (therefore inheriting its default attribute value of true
). This means that if the value of this form field is changed to 10
, that all fields in the document shall automatically be updated, resulting in the second field's value being automatically changed to 20
. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of <w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>