pui.onsubmit
The pui.onsubmit event, if defined, fires before a response is submitted to a Profound UI Rich Display File screen or a Genie screen. Â This typically occurs when a function key is pressed or a button/hyperlink is clicked. Â If the event returns false, the response is not submitted.
Example:
pui.onsubmit = function() {
pui.maskScreen(); // mask the screen
}