close InfoPath app on submit

C

Craig

Hello,
When I submit my InfoPath form to SharePoint, the form itself closes but not
the InfoPath application. What is the best way to ensure the application
itself closes on submit? Using JScript.
Thanks.
 
F

Franck Dauché

Hi Craig,

Did you try: Application.ActiveWindow.Close(true);

Regards,

Franck Dauché
 
Top