What Happens When a Form Is Suspended
If the form editor detects an event that will temporarily suspend processing of a form, the following events happen:
- nThe current field is validated. No further processing takes place on the form. Neither the end-field function nor the end-form function is called.
- nIf the message window is up, it is taken down.
- nThe current field is redisplayed with the inactive field attribute.
- nThe window suspend function is called.
When the form is later reactivated, the following events happen:
- nThe window activate function is called.
- nIf the user returns to the same field, the begin-field function for that field is not called. The user can continue typing data into the field.
- nIf the user returns to a different field (by, for example, clicking the mouse on a different field), the end-field function on the current field is called. The begin-field function of the new field is called, and the user is able to edit the new field.
- nThe current field is displayed in the active attribute.
- nIf the current field has a message, the message window is put on the screen and the message is displayed.
Note that neither the begin-form nor the end-form function is called when a form is suspended.