<?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: Survey123 - Invoke JS function from a html link in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1371998#M54125</link>
    <description>&lt;P&gt;Hi, thank you for your reply.&lt;BR /&gt;I ended up using a multiple_select question with only one option since it has a check-in box rather than a radio tag. Feels a liitle more intuitive.&lt;/P&gt;&lt;P&gt;Elena&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 23:19:07 GMT</pubDate>
    <dc:creator>EM-wsp</dc:creator>
    <dc:date>2024-01-18T23:19:07Z</dc:date>
    <item>
      <title>Survey123 - Invoke JS function from a html link</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1347509#M52745</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Survey123 accepts html links (&amp;lt;a&amp;gt;&amp;lt;/a&amp;gt;) in notes. Html links may have "onclick" event which can be used to execute a JS function.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;lt;a href="" onclick="myFunction();"&amp;gt;&lt;/SPAN&gt;Do it!&lt;SPAN class=""&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a way to setup a link in the Survey123 Excel form which invokes the JS function, which otherwise I am called though calculation:&lt;BR /&gt;pulldata("@javascript", "functions.js", "myFunction", ${param1}, ${param2})&lt;/P&gt;&lt;P&gt;Using some CSS I could turn it to a custom button in my survey.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 00:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1347509#M52745</guid>
      <dc:creator>EM-wsp</dc:creator>
      <dc:date>2023-11-09T00:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - Invoke JS function from a html link</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1369337#M53948</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/698630"&gt;@EM-wsp&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Survey123 &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/styleyourform.htm#ESRI_SECTION1_2BDD8020000A49298E5C42F939AB88F6" target="_self"&gt;only supports&lt;/A&gt; the href and style attributes for the &amp;lt;a&amp;gt; tag. You can make a JavaScript function relevant based on a select_one question so if some value is selected in the select_one question the question with the JavaScript function becomes relevant and the JS function is executed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 01:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1369337#M53948</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2024-01-12T01:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - Invoke JS function from a html link</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1371998#M54125</link>
      <description>&lt;P&gt;Hi, thank you for your reply.&lt;BR /&gt;I ended up using a multiple_select question with only one option since it has a check-in box rather than a radio tag. Feels a liitle more intuitive.&lt;/P&gt;&lt;P&gt;Elena&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 23:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-invoke-js-function-from-a-html-link/m-p/1371998#M54125</guid>
      <dc:creator>EM-wsp</dc:creator>
      <dc:date>2024-01-18T23:19:07Z</dc:date>
    </item>
  </channel>
</rss>

