I have ArcGIS Enterprise 11.1 and am using the web based form of surevy123 where you pass the portal URL in as a parameter.
In my survey design, I checked the option for submit a new response so that the option to create a new submission shows up.
cjms_0-1781201334270.png
This works as intended when a user submits a new response, and then clicks the link to create another.
However, this is not working as expected when a user is editing a previously submitted response. Following a blog post I found here on the Community site, I have edit links that are created using Arcade so users can reopen their previous submission.
cjms_1-1781201458309.png
Everything works as expected, except for the submit new response button. This is because the button calls the JS function windows.location.reload(), which refreshes the page but with the same "&edit" parameters.
cjms_2-1781201648527.png
Are there any workarounds to this so that a new submission page loads after the user edits a previous submission?
Solved! Go to Solution.
I realize the simple answer to manually embed a hardcoded link to the form in the post submission page and then just disable the show option to submit new response.
Looking at your link snippet you have &mode=edit which sets the survey to edit mode once there is a record associated with the Global ID parameter. It looks like the mode only supports edit, view, and copy for the web based forms. I would try leaving out the &mode=edit entirely and see if it forces the survey to start a new record.
Launch the web app—ArcGIS Survey123 | Documentation
I realize the simple answer to manually embed a hardcoded link to the form in the post submission page and then just disable the show option to submit new response.