Skip to content

Instantly share code, notes, and snippets.

@jjaramillo
Created September 21, 2011 21:40
Show Gist options
  • Save jjaramillo/1233394 to your computer and use it in GitHub Desktop.
Save jjaramillo/1233394 to your computer and use it in GitHub Desktop.
"Override" the "callback" function triggered after infopath executes an async call on an infopath browser enabled form
(function () {
var nCurrentFormData_SetFormData = CurrentFormData_SetFormData;
CurrentFormData_SetFormData = function () {
nCurrentFormData_SetFormData.apply(this, arguments);
//Your custom code here
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment