<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Allow JavaScript Functions to be run on the Thank You Screen after Survey is Submitted in ArcGIS Survey123 Ideas</title>
    <link>https://community.esri.com/t5/arcgis-survey123-ideas/allow-javascript-functions-to-be-run-on-the-thank/idi-p/1115634</link>
    <description>&lt;P&gt;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: &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-custom-thank-you-screen/m-p/1115437#M38546" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-custom-thank-you-screen/m-p/1115437#M38546&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 13:58:15 GMT</pubDate>
    <dc:creator>kim77</dc:creator>
    <dc:date>2021-11-10T13:58:15Z</dc:date>
    <item>
      <title>Allow JavaScript Functions to be run on the Thank You Screen after Survey is Submitted</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/allow-javascript-functions-to-be-run-on-the-thank/idi-p/1115634</link>
      <description>&lt;P&gt;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: &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-custom-thank-you-screen/m-p/1115437#M38546" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-custom-thank-you-screen/m-p/1115437#M38546&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/allow-javascript-functions-to-be-run-on-the-thank/idi-p/1115634</guid>
      <dc:creator>kim77</dc:creator>
      <dc:date>2021-11-10T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Allow JavaScript Functions to be run on the Thank You Screen after Survey is Submitted - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/allow-javascript-functions-to-be-run-on-the-thank/idc-p/1163559#M2006</link>
      <description>&lt;P&gt;An alternative design for this requirement would be to allow text piping in the Thank You screen. Text piping allows you insert data from the form into the Thank You screen dialog. At this moment this is implemented already, but you cannot access the globalId. This is something we are considering.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 16:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/allow-javascript-functions-to-be-run-on-the-thank/idc-p/1163559#M2006</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-04-12T16:34:16Z</dc:date>
    </item>
  </channel>
</rss>

