Closing InfoPath after Sumitting

P

Pam M

Hello,
I have written custom code to submit a form to a SHarePoint form library. I
want InfoPath to close after the user submits the form. I know that in the
submit options you can choose to close the form but I want the whole program
to close. Does anybody know the JScript code that I could add that would do
that???

Thanks,
Pam
 
B

bratt

in vb.net it is:
thisXDocument.Submit()
thisXDocument.View.Window.Close(True)

I'd assume JScript is similar...
 
Top