pui.overrideSubmitUrl
This event allows developers to override the URL that page responses are submitted to. Â The event function receives the original URL and must return the modified URL.
Example:
pui.overrideSubmitUrl = function(url) {
// this will cause the user to be appended to the URL so that it shows up in the Apache server logs
var user = pui["appJob"]["user"];
url += "&u=" + user;
return url;
}