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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top