Form Field Enabled. When the object is serialized out as xml, its qualified name is w:enabled.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
enabled (Form Field Enabled)
This element specifies whether the parent form field shall behave as though it is enabled or disabled when it is displayed in the document. This setting shall have no effect on the behavior of this form field unless the document's Settings part specifies that the documentProtection element for the current document is in a state allowing the filling in of form fields.
If this element is omitted, then the parent form field shall be in its enabled state when the document settings specify that the document allows the filling-in of form fields.
[Example: Consider the following WordprocessingML fragment for a text box form field:
<w:fldSimple w:instr="FORMTEXT"> <w:ffData> <w:enabled w:val="false"/> <w:textInput> … </w:textInput> </w:ffData> </w:fldSimple>
The enabled element specifies that the state of the current text box form field is disabled; therefore this text box must not be editable within the current document even when the state of the documentProtection element specifically allows the editing of form fields. end example]
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.