Responding to form events

Microsoft Office InfoPath

Show All Show All

Responding to form events

You can write scripting code to respond to various events that can occur in Microsoft Office InfoPath 2003 as a user fills out a form. In InfoPath, events take the form of event handlers that are created when working with a form in design mode.

InfoPath event handlers must be initially created in design mode because, in addition to the scripting declarations that are created in a form's primary scripting file, entries are also made in the form definition (.xsf) file. After you have created an event handler, you should not alter its declaration in the primary scripting file.

For information about creating the InfoPath event handlers, see About the programming environment.

ShowOverview of the event objects

ShowUsing the event objects