Skip to main content
Nintex Community Menu Bar

Close browser after submit.

  • Apr 18, 2017 7:44 PM UTC
  • 3 replies
  • 121 views
  • Translate All

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
  • Apr 18, 2017 11:50 PM UTC

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

Translate

Forum|alt.badge.img+9
  • Nintex Partner
  • Apr 19, 2017 8:03 AM UTC

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

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • Apr 19, 2017 8:35 PM UTC

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

Translate