On a custom “thank you screen” defined in Survey123 Connect, it would be very helpful to have the ability to run JavaScript functions right after a survey is submitted. Currently, this is not possible, per this post here: https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-custom-thank-you-screen/m...
One example where this would be helpful – to provide the user with a URL that allows them to copy the survey they just submitted. A JavaScript function could be run right after submitting (on the thank you screen, in the “generated_note_prompt_submitted” line) in order to fetch the globalid value and create a copy link using Survey123 URL Parameters.