In Brief

  • InfoPath 2003 defines two classes of events—form events and validation events.

  • The InfoPath 2003 form events are OnLoad, OnClick, OnSwitchView, OnSubmitRequest, OnVersionUpgrade, and OnAfterImport.

  • The OnLoad event occurs after a form has been loaded, but before the default view has been displayed.

  • The OnClick event is available only on button form controls and provides a way to script in response to a user-initiated click on a button form control.

  • The OnSwitchView event occurs when a user switches between the views of a form.

  • The OnSubmitRequest event occurs when a user chooses to submit a form or programmatically using XDocument.Submit().

  • The OnVersionUpgrade event occurs when there is a mismatch between the version number of a form and ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.