<?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>topic Re: Javascript function working in Survey123 field app but not browser in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871101#M28148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've republished using Connect 3.10 and the error stopped popping up however the value is not populating in the web version. Everything is continuing to work in the App though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2020 13:41:24 GMT</pubDate>
    <dc:creator>BrandonUnderwood1</dc:creator>
    <dc:date>2020-08-07T13:41:24Z</dc:date>
    <item>
      <title>Javascript function working in Survey123 field app but not browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871099#M28146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a javascript function to run in Survey123 Connect based on an example found on ESRI Events YouTube channel (&lt;A class="link-titled" href="https://youtu.be/zJXnyQdz0HM?t=805" title="https://youtu.be/zJXnyQdz0HM?t=805"&gt;Extending the Survey123 Field App - YouTube&lt;/A&gt;&amp;nbsp;). This function allows an infrastructure zone to be calculated based on the location of the device/selection on the map. It works perfectly in Survey123 Connect, publishes fine and works on the Survey123 App however once I open&amp;nbsp;the survey on the web I get&amp;nbsp;an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Initializing form...&lt;/P&gt;&lt;P&gt;Failed to load data from jr://file-csv/@javascript.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a Survey Design folder which is a simple example with which I am having the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated! Thank you!&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 19:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871099#M28146</guid>
      <dc:creator>BrandonUnderwood1</dc:creator>
      <dc:date>2020-07-30T19:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript function working in Survey123 field app but not browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871100#M28147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JavaScript functions have been beta until version 3.10 of Survey123. If you are using Connect to publish your survey, you need to publish with Connect 3.10 to ensure the web app will work as expected. Connect 3.10 will be released later this week. Otherwise, you can try turn off version locking in the survey123 website for your survey, to ensure it is using 3.10 web app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2020 23:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871100#M28147</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-04T23:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript function working in Survey123 field app but not browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871101#M28148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've republished using Connect 3.10 and the error stopped popping up however the value is not populating in the web version. Everything is continuing to work in the App though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 13:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871101#M28148</guid>
      <dc:creator>BrandonUnderwood1</dc:creator>
      <dc:date>2020-08-07T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript function working in Survey123 field app but not browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871102#M28149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional thing to note - the name of the directory used to store the javascript changed from 'extensions' to 'scripts' during the beta process. &amp;nbsp;Refer to the 3rd paragraph in&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm"&gt;JavaScript functions in survey forms—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871102#M28149</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-08-07T16:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript function working in Survey123 field app but not browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871103#M28150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James! That did the trick.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 17:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-function-working-in-survey123-field-app/m-p/871103#M28150</guid>
      <dc:creator>BrandonUnderwood1</dc:creator>
      <dc:date>2020-08-07T17:45:00Z</dc:date>
    </item>
  </channel>
</rss>

