<?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 populates table with selected values in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866586#M27118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Doug, it works with this: &lt;SPAN style="background-color: #ffffff;"&gt;join("\n",${name})&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2020 15:18:12 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-07-30T15:18:12Z</dc:date>
    <item>
      <title>Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866578#M27110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building a survey with a repeat in it. When specific criteria is met (in this case "female"), Survey 123 adds all the females to a list below the repeat (note field or table).&lt;/P&gt;&lt;P&gt;If male is selected, then the table or note is not updated with the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to do this with the correct syntax and how to display multiple names Dynamically - when the female selection is selected. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:37:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866578#M27110</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-28T19:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866579#M27111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can&amp;nbsp;concatenate all answers for a question in a repeat using the &lt;STRONG&gt;join()&lt;/STRONG&gt; function.&amp;nbsp;Apologies if I've missed the objective here, but one way you might achieve this is to have a hidden question in the repeat that stores the name if 'female' is selected, using a calculation similar to: if(selected(${gender},'female'),${name},''). Then use the join() function outside of the repeat to concatenate the values for that question.&amp;nbsp;Please see simple example attached.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For more info on functions, please see&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_276FB773E7E2442EB81831714B08660D" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_276FB773E7E2442EB81831714B08660D"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is of use!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 04:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866579#M27111</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-07-29T04:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866580#M27112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jim that works however, the names are not returned in a separate line. Is there a way to insert a carriage return in the code so each name is listed vertically? (when I have long names, they are spread across multiple lines.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 21:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866580#M27112</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-29T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866581#M27113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction - not vertically but horizontally in its own line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 21:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866581#M27113</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-29T21:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866582#M27114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think someone posted that you can add a \n?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866582#M27114</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-29T22:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866583#M27115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To confirm, this is done in the calculation field with the join, like this:&lt;/P&gt;&lt;P&gt;join(',',${name},"\n")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the appearance must be set to multi-line, however this is not creating a new line in the form with the names on separate lines. (I'm just looking for the correct syntax).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866583#M27115</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-29T22:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866584#M27116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Join only takes one argument&amp;nbsp;join(separator, question).&amp;nbsp; So try&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;join("\n",${name}).&amp;nbsp; If you search the board I think this was posted not too long ago.&amp;nbsp; Not sure what the outcome was.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&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;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Sorry I am not more help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866584#M27116</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-29T22:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866585#M27117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Doug suggests, &lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;"\n"&lt;/SPAN&gt; should work in the field app. You might also want to try &lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;"&amp;lt;br&amp;gt;"&lt;/SPAN&gt; as this should work in both the field app and the web app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 02:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866585#M27117</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-07-30T02:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 populates table with selected values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866586#M27118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Doug, it works with this: &lt;SPAN style="background-color: #ffffff;"&gt;join("\n",${name})&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 15:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-populates-table-with-selected-values/m-p/866586#M27118</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-30T15:18:12Z</dc:date>
    </item>
  </channel>
</rss>

