After Clicking Submit Button need to close the browser tab | Experience Community
Skip to main content
Solved

After Clicking Submit Button need to close the browser tab

  • Mar 16, 2021 2:37 PM UTC
  • 2 replies
  • 495 views

Forum|alt.badge.img+5

Hello Team,
I am looking for Javascript wherein when a respondent click on the Submit button, i would like the survey to be recorded and the browser tab to get closed. Can someone help on this ?

Best answer by ahmedA

Create a custom end of survey message with just window.close() in the header script.

View original

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • Mar 16, 2021 3:05 PM UTC

Create a custom end of survey message with just window.close() in the header script.


Forum|alt.badge.img+5
  • Level 5 ●●●●●
  • Jun 10, 2023 3:38 AM UTC

Create a custom end of survey message with just window.close() in the header script.

Any help with how you would do this?