<?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: Value not returning to user with mobile app in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876162#M29329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the mobile app you need to concat the string together in Connect and also use format-date to get the numeric string format of start and end fields into a date format. For example the calculation in note field would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat('Borehole Start/End Time ', format-date(${start_time},'%d-%m-%Y %H:%M'), ' / ', format-date(${end_time},'%d-%m-%Y %H:%M'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to show time and not date, then remove the&amp;nbsp;&lt;SPAN&gt;%d-%m-%Y part. More examples of supported date and time formatting can be found&amp;nbsp;in this blog:&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis"&gt;https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phil.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2018 01:31:38 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-01-08T01:31:38Z</dc:date>
    <item>
      <title>Value not returning to user with mobile app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876161#M29328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;created a note field that is returning the values of a previous 2 time fields with some text in the label. It&amp;nbsp;displays properly in the web app version of the survey but not the mobile app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code i'm using..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Borehole Start/End Time ${field_8} / ${field_9}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mobile app all I see is "/"&lt;/P&gt;&lt;P&gt;in the web app I see "&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Borehole Start/End Time&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" data-value=" /Form_1/field_8 " style="color: #333333; background-color: #ffffff;"&gt;13:01:51&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" data-value=" /Form_1/field_9 " style="color: #333333; background-color: #ffffff;"&gt;13:15:51", which is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876161#M29328</guid>
      <dc:creator>JohnMarra</dc:creator>
      <dc:date>2018-01-05T18:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Value not returning to user with mobile app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876162#M29329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the mobile app you need to concat the string together in Connect and also use format-date to get the numeric string format of start and end fields into a date format. For example the calculation in note field would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat('Borehole Start/End Time ', format-date(${start_time},'%d-%m-%Y %H:%M'), ' / ', format-date(${end_time},'%d-%m-%Y %H:%M'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to show time and not date, then remove the&amp;nbsp;&lt;SPAN&gt;%d-%m-%Y part. More examples of supported date and time formatting can be found&amp;nbsp;in this blog:&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis"&gt;https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phil.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 01:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876162#M29329</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-08T01:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Value not returning to user with mobile app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876163#M29330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Philip&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876163#M29330</guid>
      <dc:creator>JohnMarra</dc:creator>
      <dc:date>2018-01-08T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Value not returning to user with mobile app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876164#M29331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did have to make 2 separate forms for web and mobile app&amp;nbsp;as the web app because they don't appear to process the code the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 20:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876164#M29331</guid>
      <dc:creator>JohnMarra</dc:creator>
      <dc:date>2018-01-08T20:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Value not returning to user with mobile app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876165#M29332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there is a current known issue in our backlog with the time formatting differences between the web and mobile app, I have updated your comments in the issue. Using two forms will help&amp;nbsp;workaround this issue, the option would be to try and use calculations in null fields and hidden fields that&amp;nbsp;the note points to, all in the one survey for both, to be able to change the formatting in app to display a format that the web app will also be able to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 05:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/value-not-returning-to-user-with-mobile-app/m-p/876165#M29332</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-11T05:12:51Z</dc:date>
    </item>
  </channel>
</rss>

