<?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: when a &amp;lt;return&amp;gt; is used in a text field in survey123, the subsequent multi-line text appears to be &amp;quot;missing&amp;quot; in the attribute table in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785914#M7104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using an update cursor seems to do the trick.&amp;nbsp; See my comment posted 2/11/19&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/thread/228309-where-clause-for-n"&gt;https://community.esri.com/thread/228309-where-clause-for-n&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 20:38:08 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2019-02-11T20:38:08Z</dc:date>
    <item>
      <title>when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785902#M7092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While editing data (submitted via Survey123) in ArcDesktop&amp;nbsp;the other day, we noticed that information was missing in some&amp;nbsp;of the text fields. But then realized it was there, but not&amp;nbsp;visible because it had been entered with a &amp;lt;return&amp;gt; on the ipad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what it looks like in the attribute table:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="436394" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/436394_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;When selected during an editing session, the additional text (after the break) is revealed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="436396" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436396_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further investigation revealed that the note was&amp;nbsp;entered in S123 like so:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Intensive&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;FB-7:18&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to prevent this?&amp;nbsp; Maybe a way to&amp;nbsp;convert the &amp;lt;return&amp;gt; to a "space" when the survey is submitted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise, thanks!&lt;/P&gt;&lt;P&gt;Lynn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 18:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785902#M7092</guid>
      <dc:creator>LynnBerni</dc:creator>
      <dc:date>2019-02-01T18:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785903#M7093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lynn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't a method to replace the values at the time of form submission. &amp;nbsp;You can run a geoprocessing operation to update the fields. &amp;nbsp;You would use the&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/calculate-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/calculate-field.htm"&gt;Calculate Field—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;tool with an operation (Python) like:&lt;/P&gt;&lt;P&gt;!FIELD!.replace("\n", " - ")&lt;/P&gt;&lt;P&gt;or similar; I'd recommend testing on a copy first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 18:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785903#M7093</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-04T18:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785904#M7094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you do an if() statement that would use the old find and replace of the character map of a hard return "Alt"+010; maybe something like if((contains(${question}, 'ALT+010'),' ','')? Guessing probably not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 21:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785904#M7094</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-04T21:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785905#M7095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That wouldn't work - first, you would want to use a regex pattern for the return vs. a character specification and second, the statement you have would cause the entire question to be replaced with a space. &amp;nbsp;There isn't a replace equivalent in the XLSform specification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 23:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785905#M7095</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-04T23:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785906#M7096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌ - I've been sparring with this issue for Lynn since yesterday and have been spinning my wheels.&amp;nbsp; (See:&amp;nbsp;&lt;A href="https://community.esri.com/thread/228309"&gt;Where clause for '\n'&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your calculation suggestion works nicely if you&amp;nbsp;manually make a selection on the offending records and perform it with the field calculator.&amp;nbsp; I've been trying to perform it behind the scenes with a search cursor, select, calculation and an update cursor to no avail.&amp;nbsp; Any suggestions for such an approach?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 18:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785906#M7096</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-02-05T18:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785907#M7097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My thought was to simply run the calculate field GP tool on the feature class, without a selection or search cursor - it will do a bulk search &amp;amp; replace on the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 18:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785907#M7097</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-05T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785908#M7098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I get your point, however&amp;nbsp; Lynn has a number of tables where the newline phenomenon is present.&amp;nbsp; I've created a couple of python scripts that perform some data edits and run as scheduled tasks after hours (after the field data has been synced to the egdb).&amp;nbsp; She's hoping to get the newline thing corrected in one of those tasks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 18:34:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785908#M7098</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-02-05T18:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785909#M7099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should be possible - all the GP tools are available in arcpy. &amp;nbsp;The one issue would be if there are situations where you would want a newline character in the entry of some records but not others in the same field; then you would need a selection set based on the inclusion/exclusion criteria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785909#M7099</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-05T19:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785910#M7100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be, I just haven't figure it out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785910#M7100</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-02-05T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785911#M7101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌ this post from last january has a similar question (I think),&amp;nbsp;&lt;A href="https://community.esri.com/thread/208694"&gt;Multi-line text fields not showing up on Survey123 print&lt;/A&gt;.&amp;nbsp; Your comment mentioned a bug fix for the Survey123 website. Is this relevant?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785911#M7101</guid>
      <dc:creator>LynnBerni</dc:creator>
      <dc:date>2019-02-05T19:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785912#M7102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lynn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was a separate issue caused by the same character- in that case, the report template was ignoring the carriage returns. &amp;nbsp;That has been fixed since the post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 20:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785912#M7102</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-05T20:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785913#M7103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using &lt;STRONG&gt;not(regex(., '\n'))&lt;/STRONG&gt; in the constraint column? This should prevent anyone from submitting the survey if there are carriage returns in the question(s). Just be sure to add a very clear constraint message!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 23:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785913#M7103</guid>
      <dc:creator>NickDierks1</dc:creator>
      <dc:date>2019-02-05T23:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: when a &lt;return&gt; is used in a text field in survey123, the subsequent multi-line text appears to be "missing" in the attribute table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785914#M7104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using an update cursor seems to do the trick.&amp;nbsp; See my comment posted 2/11/19&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/thread/228309-where-clause-for-n"&gt;https://community.esri.com/thread/228309-where-clause-for-n&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 20:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-a-lt-return-gt-is-used-in-a-text-field-in/m-p/785914#M7104</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-02-11T20:38:08Z</dc:date>
    </item>
  </channel>
</rss>

