Skip to main content
Nintex Community Menu Bar

Close browser after submit.

  • April 18, 2017
  • 3 replies
  • 109 views

Forum|alt.badge.img+1

How do i set up a nintex form to close the browser after clicking submit button? Tried this but it doesn't work InfoPath 2010 close the browser window — John Liu .NET 

3 replies

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • April 18, 2017

Hi there:

I haven't tried this, but apparently this javascript should do it:

window.open('', '_self', ''); window.close();

I will let someone with more javascript knowledge comment on it further. ‌ ?


Forum|alt.badge.img+9
  • Nintex Partner
  • April 19, 2017

You can create a custom page in SharePoint. When this page loads you can execute Rhia's javascript code.

In Nintex Forms designer, you can set the "Redirect URL" field with the url of the page you've created (in the form settings, then in "Advanced" section).

Hope this helps


rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • April 19, 2017

Oh man, that's brilliant. Thanks happy.png