The pui.beforeRespond event, if defined, fires before a response is sent from the browser to the server. 

The pui.beforeRespond method does not fire on Genie screens.


The pui.beforeRespond event receives one parameter object that represents the browser's post data response to the server. The post data object can be modified directly or a new object can be returned by the event.