<?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 Substring calc in iOS not working (?) in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/substring-calc-in-ios-not-working/m-p/802394#M11117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to set a field value from another field using substr in the calculation field - and it is not working in iOS.&lt;/P&gt;&lt;P&gt;There are address values already in my survey which can be re-used to populate other address fields in a repeating section, thus reducing keyboard entry. It works well in Survey123 Connect and in Survey123 desktop. In iOS Survey123, the fields are not populated by the substr function set by using the calculation field. They are left empty.&amp;nbsp; &lt;BR /&gt;Is this not supported in mobile?&lt;/P&gt;&lt;P&gt;The calculation outputs&amp;nbsp;an existing address except for the house number, which is replaced with&amp;nbsp;000 :&amp;nbsp;&lt;BR /&gt;"000 "+substr(${address_listed},4)&lt;/P&gt;&lt;P&gt;Can you get this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 19:57:35 GMT</pubDate>
    <dc:creator>JimCasey</dc:creator>
    <dc:date>2018-04-16T19:57:35Z</dc:date>
    <item>
      <title>Substring calc in iOS not working (?)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/substring-calc-in-ios-not-working/m-p/802394#M11117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to set a field value from another field using substr in the calculation field - and it is not working in iOS.&lt;/P&gt;&lt;P&gt;There are address values already in my survey which can be re-used to populate other address fields in a repeating section, thus reducing keyboard entry. It works well in Survey123 Connect and in Survey123 desktop. In iOS Survey123, the fields are not populated by the substr function set by using the calculation field. They are left empty.&amp;nbsp; &lt;BR /&gt;Is this not supported in mobile?&lt;/P&gt;&lt;P&gt;The calculation outputs&amp;nbsp;an existing address except for the house number, which is replaced with&amp;nbsp;000 :&amp;nbsp;&lt;BR /&gt;"000 "+substr(${address_listed},4)&lt;/P&gt;&lt;P&gt;Can you get this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/substring-calc-in-ios-not-working/m-p/802394#M11117</guid>
      <dc:creator>JimCasey</dc:creator>
      <dc:date>2018-04-16T19:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Substring calc in iOS not working (?)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/substring-calc-in-ios-not-working/m-p/802395#M11118</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;I have an example as you've described that works in iOS; see the first attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said,&amp;nbsp;I'll note that while the field app supports + for string concatenation, the web form requires the use of the concat() function - see the 2 form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/substring-calc-in-ios-not-working/m-p/802395#M11118</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-04-18T16:18:31Z</dc:date>
    </item>
  </channel>
</rss>

