<?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: Does the custom JS function work on a web form? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148974#M40906</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User,&lt;/P&gt;&lt;P&gt;You can find a list of known issues and supported features with JS functions in this doc article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;points out, the most obvious one is that users must be signed in, and the JS function (survey) must originate from the same org that the user belongs too.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 06:15:53 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-03-01T06:15:53Z</dc:date>
    <item>
      <title>Does the custom JS function work on a web form?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148874#M40898</link>
      <description>&lt;P&gt;Does the custom JS function work on a web form?&lt;/P&gt;&lt;P&gt;I created a custom JS function on Survey123 connect and published it on AGOL for Organization and then embedded the survey form in an ArcGIS Dashboard.&amp;nbsp; I followed instructions in the&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-embedding-a-survey/ba-p/899140" target="_self"&gt;Survey123 Tricks of the Trade: Embedding a survey in an ArcGIS Dashboard&lt;/A&gt; blog post.&lt;/P&gt;&lt;P&gt;The calculations I added in custom JS functions aren't working in the web survey form.&amp;nbsp; If the custom JS functions added in the Survey123 Connect don't work in a web survey form, what would you suggest in order to accomplish the same calculation tasks on the web survey form?&lt;/P&gt;&lt;P&gt;The data will be collected using the Survey123 field app.&amp;nbsp; For updating the survey, we need to use the web survey form with a map.&lt;/P&gt;&lt;P&gt;I would greatly appreciate your assistance.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Makiko&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 23:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148874#M40898</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-02-28T23:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Does the custom JS function work on a web form?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148936#M40901</link>
      <description>&lt;P&gt;I can't think of why the JS functions wouldn't, except that custom JS functions require the end user to be an authenticated user, and won't work for anonymous users. Is that related to your issue? We use custom JS functions in several web app forms, and they work fine.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 03:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148936#M40901</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-01T03:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Does the custom JS function work on a web form?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148974#M40906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User,&lt;/P&gt;&lt;P&gt;You can find a list of known issues and supported features with JS functions in this doc article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;points out, the most obvious one is that users must be signed in, and the JS function (survey) must originate from the same org that the user belongs too.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 06:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1148974#M40906</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-01T06:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Does the custom JS function work on a web form?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1149187#M40922</link>
      <description>&lt;P&gt;Thank you so much for your response.&amp;nbsp; Your answer assured me that something is wrong with my JS code.&amp;nbsp; I will debug my JS code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Makiko&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 17:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/does-the-custom-js-function-work-on-a-web-form/m-p/1149187#M40922</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-01T17:25:51Z</dc:date>
    </item>
  </channel>
</rss>

