<entryMacro>
(Script Function to Execute on Form Field Entry)
If this element is omitted, then no subroutine shall be associated with entering the run contents of the parent form field. If this element specifies a macro which cannot be located or is not supported by an application, then its value may be ignored, but shall not be lost upon resaving the file.
<w:ffData> <w:entryMacro w:val="TestEntryFunction" /> <w:checkBox> … </w:checkBox> </w:ffData>
The <entryMacro>
element specifies that any application which processes this file should attempt to locate and execute a scripting subroutine called TestEntryFunction
when the contents of the checkbox are entered. If this subroutine cannot be located or executed, then this setting is silently ignored. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the name of a single scripting subroutine which shall be associated with the parent element. Its use is specifies based on the context of the parent XML element. <w:ffData> <w:exitMacro w:val="HelloWorld" /> </w:ffData> The The possible values for this attribute are defined by the ST_MacroName simple type (§2.18.58). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_MacroName">
<attribute name="val" use="required" type="ST_MacroName"/>
</complexType>