<?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 label doesn't display values from calculated in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823392#M16381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When there is a username inspector hides - which causes it to go to "".&amp;nbsp; Whenever any field hides due to the relevant it will always blank the field (it does NOT just hide it but sets it to empty string).&amp;nbsp; So above when there is a username the field hides - which overrides the calculation and blanks it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the calculation from inspector&lt;/P&gt;&lt;P&gt;Use an if in the label.&lt;/P&gt;&lt;P&gt;if( ${username} = '',&amp;nbsp;concat("Inspector: ", ${inspector}),&amp;nbsp;concat("Inspector: ", ${username}))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2019 13:50:55 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2019-04-30T13:50:55Z</dc:date>
    <item>
      <title>Survey123 label doesn't display values from calculated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823391#M16380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Survey123 is still logging our users out approximately on a weekly basis I've heard. When this happens, the username field is not populated and users can't submit their surveys because its a required field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround, I have a text input appear when the username is not present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My survey looks like this:&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; height: 25px;"&gt;&lt;TH style="width: 8.27068%; height: 25px;"&gt;type&lt;/TH&gt;&lt;TH style="width: 8.27068%; height: 25px;"&gt;name&lt;/TH&gt;&lt;TH style="width: 8.27068%; height: 25px;"&gt;label&lt;/TH&gt;&lt;TH style="width: 10.6516%; height: 25px;"&gt;calculation&lt;/TH&gt;&lt;TH style="width: 33.0827%; height: 25px;"&gt;relevant&lt;/TH&gt;&lt;TH style="width: 22.807%; height: 25px;"&gt;Explanation&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 76px;"&gt;&lt;TD style="width: 8.27068%; height: 76px;"&gt;text&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 76px;"&gt;inspector&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 76px;"&gt;Inspector&lt;/TD&gt;&lt;TD style="width: 10.6516%; height: 76px;"&gt;${username}&lt;/TD&gt;&lt;TD style="width: 33.0827%; height: 76px;"&gt;${username} = ''&lt;/TD&gt;&lt;TD style="width: 22.807%; height: 76px;"&gt;If user isn't signed in, let them enter a username so the survey still submits&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;username&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;username&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;username&lt;/TD&gt;&lt;TD style="width: 10.6516%; height: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 33.0827%; height: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 22.807%; height: 25px;"&gt;Try and auto populate the username variable&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;label&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;InspectionMeta&lt;/TD&gt;&lt;TD style="width: 8.27068%; height: 25px;"&gt;Inspection&lt;/TD&gt;&lt;TD style="width: 10.6516%; height: 25px;"&gt;concat("Inspector: ", ${inspector})&lt;/TD&gt;&lt;TD style="width: 33.0827%; height: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 22.807%; height: 25px;"&gt;Display the username to the user so they know they are signed in.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT this breaks the label. Inspector is never displayed to the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 17:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823391#M16380</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2019-04-29T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 label doesn't display values from calculated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823392#M16381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When there is a username inspector hides - which causes it to go to "".&amp;nbsp; Whenever any field hides due to the relevant it will always blank the field (it does NOT just hide it but sets it to empty string).&amp;nbsp; So above when there is a username the field hides - which overrides the calculation and blanks it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the calculation from inspector&lt;/P&gt;&lt;P&gt;Use an if in the label.&lt;/P&gt;&lt;P&gt;if( ${username} = '',&amp;nbsp;concat("Inspector: ", ${inspector}),&amp;nbsp;concat("Inspector: ", ${username}))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 13:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823392#M16381</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-04-30T13:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 label doesn't display values from calculated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823393#M16382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works! Thanks Doug!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 14:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-label-doesn-t-display-values-from/m-p/823393#M16382</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2019-05-16T14:31:00Z</dc:date>
    </item>
  </channel>
</rss>

