Post-Submit Message - Open Link in Same Tab

60
1
12-01-2021 12:17 PM
JordanHoover
New Contributor

Hello all,

I currently have a Survey123 form published for use on a Hub Site.

My goal is to redirect users back to the Hub Site home page when they have completed the Survey123 form. Right now I am trying to do this by adding a URL link back to the home page in the message box after users submit their form. But, clicking the link is opening the home page in a new tab, rather than in the same tab.

Does anyone know of a way to either a) edit the URL address to direct the browser to open the link in the current tab, or b) accomplish this goal in a different manner altogether?  I've thought to include a note instructing users to click their browser's back button, but I think this would direct them back to the Survey123 page rather than the Hub Site home page. 

Thanks in advance!

0 Kudos
1 Reply
DougBrowning
MVP Frequent Contributor

Have you tried using a Callback URL?  It works great in the apps for me.  Have not tested web.

arcgis-survey123://?itemID=9269d29cfc9943739c556ee345&field:LOCAL_ID={LOCAL_ID}&callback=https://fieldmaps.arcgis.app 

and

a href="https://fieldmaps.arcgis.app?itemID=60898699d919ba5d1b88ac966&referenceContext=addFeature&featureSourceURL=https://services1.arcgis.com/Hp6G80m7QvQ/arcgis/rest/services/PFCRCTest4/FeatureServer/0&featureAttributes=%7B%22LOCAL_ID%22:%22${LOCAL_ID}%22%7D&callback=https://survey123.arcgis.app 

0 Kudos