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.


pui.onsubmit = function() { pui.maskScreen(); // mask the screen }