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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access