<?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: JS function to grab the multiselect label? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1583793#M61155</link>
    <description>&lt;P&gt;I suppose you could do a query on a HFS in the function?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 21:37:03 GMT</pubDate>
    <dc:creator>TL2</dc:creator>
    <dc:date>2025-02-10T21:37:03Z</dc:date>
    <item>
      <title>JS function to grab the multiselect label?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1582207#M61106</link>
      <description>&lt;P&gt;I am trying to grab multiselect question result and create a list as they are populated.&amp;nbsp; Anyone have a script that can do this?&amp;nbsp; I have one that crabs the names and creates a list but not the label.&amp;nbsp; How do you grab the label of a multiselect with JS?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1582207#M61106</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2025-02-05T13:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: JS function to grab the multiselect label?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1583211#M61137</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/371835"&gt;@TL2&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would need to use the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_2954BF95CF674951AE9691A656CF157C:~:text=jr%3Achoice%2Dname(choice_name%2C%20%27question%27)" target="_self"&gt;jr:choice-name function&lt;/A&gt; to return the labels for the selected responses and pass that into your JS function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, &lt;STRONG&gt;concat(&lt;SPAN&gt;jr:choice-name(selected-at(${select_multiple}, 0), '${select_multiple}'), ',', jr:choice-name(selected-at(${select_multiple}, 1), '${select_multiple}'), ',',&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;jr:choice-name(selected-at(${select_multiple}, 2), '${select_multiple}'), ...&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 17:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1583211#M61137</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2025-02-07T17:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: JS function to grab the multiselect label?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1583793#M61155</link>
      <description>&lt;P&gt;I suppose you could do a query on a HFS in the function?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 21:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/js-function-to-grab-the-multiselect-label/m-p/1583793#M61155</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2025-02-10T21:37:03Z</dc:date>
    </item>
  </channel>
</rss>

