In Enterprise, I have added a link to a Survey123 form(web) on the splash page. Once clicked, the survey form opens in a new window where users are asked several questions.
Is there a way to close the survey window once the user clicks the submit button? I would like the window to close so the the user is redirected back to the webapp.
Thanks ahead for all suggestions...
Hello @JuneAcosta,
Using the Survey123 Web App JavaScript API there is a setOnFormSubmitter event that can be used in conjunction with a custom function that will close the window.
Please use this link for more information on the Survey123 Web App JavaScript API: https://developers.arcgis.com/survey123/api-reference/web-app/#setOnFormSubmitter
Thank you,
Zach