<?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: How to include a newline when concatenating? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1116388#M38597</link>
    <description>&lt;P&gt;Does this work in the Web App version for use in Experience and Dashboard Editors?&lt;/P&gt;&lt;P&gt;For me the Newline ,"/n", works great on the field app, but not on the Web App, which simply shows:&lt;/P&gt;&lt;P&gt;\n\n, Coldwater, RoW Status: Clearing, Grading; TEL Assessment Status(s): 3 (SM) \n\n Bedrock&lt;/P&gt;&lt;P&gt;Using code:&lt;/P&gt;&lt;P&gt;concat('Bedrock Type:',${Bedrock_Type},"\n",'Observed from: ',${Bedrock_KPRge},"\n",'Bedrock Depth: " ',${Bedrock_Depth},' m, Bedrock Depth Range: ',${BedrockDepth_Rge},"\n",${Sample_Reason_Cct},'; # Samples: ',${Nmbr_SamplesPerActivity})&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 16:43:47 GMT</pubDate>
    <dc:creator>FieldUser1One</dc:creator>
    <dc:date>2021-11-12T16:43:47Z</dc:date>
    <item>
      <title>How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870881#M28100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;In my survey I have the user choose an account ID (txt_Acct_ID) from a list which then auto-populates a number of answers from a csv file. &amp;nbsp;In the case of a Mailing Address pre-populating a multi-line textbox, I am trying to concatenate a number of separate fields from the csv with newline calls&amp;nbsp;injected. &amp;nbsp;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MailAddress1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MailAddress2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;City, State Zipcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is one thing I tried:&lt;/P&gt;&lt;P&gt;if(${int_ID_sel}&amp;gt;0,concat(pulldata('feed_mans','MailAddress1','AccountID',${txt_Acct_ID})+'\n'+pulldata('feed_mans','MailCity','AccountID',${txt_Acct_ID})),'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MailAddress1&lt;/SPAN&gt;\n&lt;SPAN&gt;MailAddress2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it appears not to recognize the newline call. &amp;nbsp;I have a number of workarounds but would like this to work if possible. &amp;nbsp;The use case is to pre-populate the field but allow the user to update it. &amp;nbsp;And for this purpose, it actually makes the most sense to put the entire address in one field. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 14:43:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870881#M28100</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-03-29T14:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870882#M28101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it providing the 'MailAddresss1' literally, as in the pulldata is not working? &amp;nbsp;If so, try placing them in calculate fields. &amp;nbsp;'\n' is working for me in calculations - a simple sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;type&lt;/TH&gt;&lt;TH&gt;name&lt;/TH&gt;&lt;TH&gt;label&lt;/TH&gt;&lt;TH&gt;appearance&lt;/TH&gt;&lt;TH&gt;calculation&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;text&lt;/TD&gt;&lt;TD&gt;text1&lt;/TD&gt;&lt;TD&gt;Enter some text:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;text&lt;/TD&gt;&lt;TD&gt;text2&lt;/TD&gt;&lt;TD&gt;Here's a multiline:&lt;/TD&gt;&lt;TD&gt;multiline&lt;/TD&gt;&lt;TD&gt;concat(${example},"\n","hello")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 20:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870882#M28101</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-03-29T20:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870883#M28102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pulldata is working great. &amp;nbsp;I just was using the 'MailAddress1' for this example. &amp;nbsp;It seemed clearer when I wrote it. &amp;nbsp;I do have it in the Calculate field but it was not working with single quotes. &amp;nbsp;I just replaced the single quotes with double quotes only on the \n and that gave the newline in the text box. &amp;nbsp;So here was the final calculation: &amp;nbsp;&lt;/P&gt;&lt;P&gt;if(${int_ID_sel}&amp;gt;0,concat(pulldata('feed_mans','MailAddress1','AccountID',${txt_Acct_ID})+"\n"+pulldata('feed_mans','MailCity','AccountID',${txt_Acct_ID})),'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just simply got the quotes mixed up. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 21:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/870883#M28102</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-03-29T21:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1116388#M38597</link>
      <description>&lt;P&gt;Does this work in the Web App version for use in Experience and Dashboard Editors?&lt;/P&gt;&lt;P&gt;For me the Newline ,"/n", works great on the field app, but not on the Web App, which simply shows:&lt;/P&gt;&lt;P&gt;\n\n, Coldwater, RoW Status: Clearing, Grading; TEL Assessment Status(s): 3 (SM) \n\n Bedrock&lt;/P&gt;&lt;P&gt;Using code:&lt;/P&gt;&lt;P&gt;concat('Bedrock Type:',${Bedrock_Type},"\n",'Observed from: ',${Bedrock_KPRge},"\n",'Bedrock Depth: " ',${Bedrock_Depth},' m, Bedrock Depth Range: ',${BedrockDepth_Rge},"\n",${Sample_Reason_Cct},'; # Samples: ',${Nmbr_SamplesPerActivity})&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1116388#M38597</guid>
      <dc:creator>FieldUser1One</dc:creator>
      <dc:date>2021-11-12T16:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1188742#M43565</link>
      <description>&lt;P&gt;Is there any workaround/update for adding newlines for surveys accessed through the web app?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 14:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1188742#M43565</guid>
      <dc:creator>EllenLester</dc:creator>
      <dc:date>2022-07-01T14:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1229960#M45949</link>
      <description>&lt;P&gt;As long as appearance column is set to "multiline" using concat with "\n" works ok for me. ie&amp;nbsp; concat(${initials}, "\n", ${surname )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndyBates_0-1668005583673.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55599i3944B243D77B6A5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndyBates_0-1668005583673.png" alt="AndyBates_0-1668005583673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1229960#M45949</guid>
      <dc:creator>AndyBates</dc:creator>
      <dc:date>2022-11-09T14:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1551628#M59766</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/489996"&gt;@FieldUser1One&lt;/a&gt;&amp;nbsp;Did you ever find a way to get this to work in the web app?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 21:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1551628#M59766</guid>
      <dc:creator>RHammers</dc:creator>
      <dc:date>2024-10-23T21:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1602457#M61989</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/114418"&gt;@AndyBates&lt;/a&gt;&amp;amp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try that recently again? No matter what I am trying to concatenate, it keeps showing the \n in the text area when opening the web form.&lt;/P&gt;&lt;P&gt;concat(${text1}, "\n",${text2})&amp;nbsp;&lt;/P&gt;&lt;P&gt;as well as&lt;/P&gt;&lt;P&gt;concat("my", "\n","text")&lt;/P&gt;&lt;P&gt;gives me "my\ntext"&lt;/P&gt;&lt;P&gt;In the field app it's all good. Any hint is welcome!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 18:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1602457#M61989</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2025-04-03T18:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to include a newline when concatenating?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1692648#M65725</link>
      <description>&lt;P&gt;a simple '&amp;lt;br&amp;gt;' is working for me this time. "/n" wasn't working for me either&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 19:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-include-a-newline-when-concatenating/m-p/1692648#M65725</guid>
      <dc:creator>KDHEITGIS</dc:creator>
      <dc:date>2026-03-25T19:51:52Z</dc:date>
    </item>
  </channel>
</rss>

