<?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: Split answers from multiple_select in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859345#M25398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved using the &lt;STRONG&gt;selected-at()&lt;/STRONG&gt; function, which will return the name for the choice at the given position. Note that this is indexed from zero. For example,&amp;nbsp;to&amp;nbsp;return the name of the third selected choice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;selected-at(${fruit},2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is described here:&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists"&gt;https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also documented here&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;and here&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_63B0F9AA1A05458BB4B86F2A1A05AA78" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_63B0F9AA1A05458BB4B86F2A1A05AA78"&gt;XLSForm essentials—Survey123 for ArcGIS | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 23:43:47 GMT</pubDate>
    <dc:creator>Jim-Moore</dc:creator>
    <dc:date>2020-01-20T23:43:47Z</dc:date>
    <item>
      <title>Survey123: Split answers from multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859344#M25397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am pretty sure that I saw this problem solved somewhere already but I cannot find it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that I have a multiple_select answer that has the selected answers concatenated by a comma:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Banana, Apple, Orange, Strawberry, Tree_Tomato&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to save these answers to different columns (=questions) in my survey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Answer: Banana&lt;/P&gt;&lt;P&gt;Second Answer: Apple&lt;/P&gt;&lt;P&gt;Third Answer: Orange&lt;/P&gt;&lt;P&gt;Fifth Answer: Tree_Tomato&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I extract the answers separately depending on their position?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/378995"&gt;Alain Roland Munyaneza&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859344#M25397</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2020-01-20T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Split answers from multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859345#M25398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved using the &lt;STRONG&gt;selected-at()&lt;/STRONG&gt; function, which will return the name for the choice at the given position. Note that this is indexed from zero. For example,&amp;nbsp;to&amp;nbsp;return the name of the third selected choice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;selected-at(${fruit},2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is described here:&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists"&gt;https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also documented here&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;and here&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_63B0F9AA1A05458BB4B86F2A1A05AA78" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_63B0F9AA1A05458BB4B86F2A1A05AA78"&gt;XLSForm essentials—Survey123 for ArcGIS | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 23:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859345#M25398</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-01-20T23:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Split answers from multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859346#M25399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, I should have looked into the documentation first...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint how I could split up a text when several answers are give in a free text question? When I give the option to list "others" and the user fills "Avocado, Cucumber, Tomato, Corn", is there a way to save those also separated in additional columns/questions? I found a lot in excel for only three values (like left, mid, right) but couldn't figure out how to do it with more than three items in the list.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 05:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859346#M25399</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2020-01-21T05:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Split answers from multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859347#M25400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned &lt;A _jive_internal="true" href="https://community.esri.com/thread/193260-hi-in-xlsforms-i-am-trying-to-split-a-stringbarcode-by-delimiter-i-only-found-a-exp-for-separate-by-positions-substrbarcode2825-someone-knows-a-expression-for-this-thanks#comment-851670"&gt;in this post&lt;/A&gt;,&amp;nbsp;there isn't a function for this in XLSForm. A JavaScript function (currently in beta) could help (refer to EAC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a calculation to work, users would have to type their list of additional entries in a strict format, which could be difficult to enforce. If your aim is to write each entry to a separate question anyway, one suggestion is to have one question per additional input; you could use something like&amp;nbsp;&lt;EM&gt;string-length({$previous})&amp;gt;0&lt;/EM&gt; in the relevant column to hide the next question until it's needed. This would avoid issues with inconsistent data entry into a single text question.&lt;/P&gt;&lt;P&gt;One consideration with this approach is you would need to have a capped number of additional entries (questions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 03:50:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859347#M25400</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-01-22T03:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Split answers from multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859348#M25401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Jim!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 06:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-split-answers-from-multiple-select/m-p/859348#M25401</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2020-01-22T06:21:42Z</dc:date>
    </item>
  </channel>
</rss>

