R
Renjith
Hi,
I have to perform few tasks when a Infopath form is saved to local system
from a document library. For this I have written the below function but it
doesnot get invoked and Iam not able to view the alert message given. What
could be the reason?
function XDocument::OnSaveRequest(eventObj) {
// Write the code to be run before saving here.
XDocument.Application.Alert("on save");
eventObj.IsCancelled = eventObj.PerformSaveOperation();
// Write the code to be run after saving here.
eventObj.ReturnStatus = true;
}
Thanks
Renjith
I have to perform few tasks when a Infopath form is saved to local system
from a document library. For this I have written the below function but it
doesnot get invoked and Iam not able to view the alert message given. What
could be the reason?
function XDocument::OnSaveRequest(eventObj) {
// Write the code to be run before saving here.
XDocument.Application.Alert("on save");
eventObj.IsCancelled = eventObj.PerformSaveOperation();
// Write the code to be run after saving here.
eventObj.ReturnStatus = true;
}
Thanks
Renjith