Show All

# domEventHandlers Element

Contains pointers to various script-based event handlers that react to changes in XML Document Object Model (DOM) nodes of a form's underlying XML document when the form is being filled out.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
domEventHandler | (Optional element) Defines an event handler object for one or more specific XML DOM nodes.

## Remarks

The domEventHandlers element is an optional element of the xDocumentClass element.

## Example

The following is an example of the domEventHandlers element:

    <xsf:domEventHandlers>
       <xsf:domEventHandler
          match="TravelReport/Expenses"
          handlerObject="TravelExpenses"/>
    </xsf:domEventHandlers>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp