Validation Events
InfoPath's validation events are, not surprisingly, intended to be used in the validation of InfoPath form data. There are three validation events: OnBeforeChange, OnValidate, and OnAfterChange, which occur in that order.
▸ Validation of InfoPath form data is described in Chapter 10, “Validating Form Data,” p. 179.
The DataDOMEvent object is passed as an argument to each of the three InfoPath validation events.
▸ To learn more about the methods and properties of the DataDOMEvent object, see “The DataDOMEvent Object,” p. 314 (Chapter 18).
The OnBeforeChange Event
The OnBeforeChange event is the first of the three validation events to occur when the user makes a change in the values visible in a form control. The OnBeforeChange ...
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.