Hello,
I have this code on Exit button for pdf form:
app.execMenuItem("Close");
Or
to give warning before Exit: Have a second RealExit Button hidden to execute the code
var answer = xfa.host.messageBox("Are you sure you want to Exit?","Warning Message",2,1);
if(answer==1){
RealExit.execEvent('click');
}
I tried both the code one at a time but no luck in Adobe Acrobat Version 8, works like a charm in Adobe Acrobat 9
I would like the user to click the Exit button if they choose to exit. However it doesn't work in Adobe Acrobat 8 but works in 9 version. Is there a work around? Any suggestions???
Thanks