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.
Parameters:
The pui.beforeRespond event receives one parameter object that represents the browser's post data response to the server. The response can be modified directly or modified and returned by the event.