<?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: Relevant field checking if previous question has been answered in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774360#M4624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The safest way to figure&amp;nbsp; if a question is empty is to use &lt;EM&gt;string-length&lt;/EM&gt;. For example: &lt;EM&gt;string-length(${Date2})&amp;gt;0&lt;/EM&gt; in your &lt;EM&gt;relevant&lt;/EM&gt; column for DaysOn will hide DaysOn unless Date2 has been answered.&amp;nbsp; string-length works well with all types&amp;nbsp; of&amp;nbsp; XLSForm questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 21:02:09 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2017-03-08T21:02:09Z</dc:date>
    <item>
      <title>Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774356#M4620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Just wanted to check if anyone knew how to make a question / section only appear once a question has been filled in? In this instance I don't mind what answer has been put in, only that an answer HAS been put in. I had managed to do this but have since accidentally deleted the relevant XLSForm &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 16:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774356#M4620</guid>
      <dc:creator>AndyKeljarrett</dc:creator>
      <dc:date>2016-08-29T16:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774357#M4621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try &lt;STRONG&gt;${PreviousQuestion} !=''&lt;/STRONG&gt; in the &lt;EM&gt;Relevant&lt;/EM&gt; column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 16:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774357#M4621</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2016-08-29T16:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774358#M4622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works brilliant for text etc questions. What if I want to check if a Geopoint question type has been filled in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774358#M4622</guid>
      <dc:creator>AndyKeljarrett</dc:creator>
      <dc:date>2016-08-29T20:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774359#M4623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ismael, I'm wondering if this relevant works with dates. I am calculating&amp;nbsp;"Days on Assignment" by subtracting &lt;STRONG&gt;${Date2} -&lt;/STRONG&gt; &lt;STRONG&gt;${Date1}&lt;/STRONG&gt; with &lt;STRONG&gt;${Date1}&lt;/STRONG&gt; a required field but not &lt;STRONG&gt;${Date2}&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I have figured out the calculation but cannot figure out how to hide &lt;STRONG&gt;${DaysOn}&lt;/STRONG&gt; unless &lt;STRONG&gt;${Date2}&lt;/STRONG&gt; is selected.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date1&lt;/STRONG&gt; and &lt;STRONG&gt;Date2&lt;/STRONG&gt; are type date and &lt;STRONG&gt;DaysOn&lt;/STRONG&gt; is an integer.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774359#M4623</guid>
      <dc:creator>SeanEdwards</dc:creator>
      <dc:date>2017-03-08T20:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774360#M4624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The safest way to figure&amp;nbsp; if a question is empty is to use &lt;EM&gt;string-length&lt;/EM&gt;. For example: &lt;EM&gt;string-length(${Date2})&amp;gt;0&lt;/EM&gt; in your &lt;EM&gt;relevant&lt;/EM&gt; column for DaysOn will hide DaysOn unless Date2 has been answered.&amp;nbsp; string-length works well with all types&amp;nbsp; of&amp;nbsp; XLSForm questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774360#M4624</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2017-03-08T21:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Relevant field checking if previous question has been answered</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774361#M4625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ismael, that worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/relevant-field-checking-if-previous-question-has/m-p/774361#M4625</guid>
      <dc:creator>SeanEdwards</dc:creator>
      <dc:date>2017-03-08T21:45:36Z</dc:date>
    </item>
  </channel>
</rss>

