<?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: Creating a conditional statement in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780471#M5992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Small modification - RAMP3 also needs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;and ${CORNER_TYPE}!= 'ID'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;RAMP3 could also be expressed by the valid values (as there are 3 valid values and 3 invalid values); this is the pattern I would use if the number of invalid values is larger than the number of valid values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;${NEEDED}='yes' and (${CORNER_TYPE}='IT'&amp;nbsp;or&amp;nbsp;${CORNER_TYPE}='CS'&amp;nbsp;or&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;${CORNER_TYPE}='I')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 20:18:36 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2017-08-23T20:18:36Z</dc:date>
    <item>
      <title>Creating a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780469#M5990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm having trouble with how to write a 'relevant' conditional statement based the answers to previous fields. Here is some background information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NEEDED, type - select_one, choices - yes or no&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;CORNER_TYPE, type - select_one, choices - CD, IT, D, ID, CS, I&lt;/LI&gt;&lt;LI&gt;RAMP1&lt;/LI&gt;&lt;LI&gt;RAMP2&lt;/LI&gt;&lt;LI&gt;RAMP3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My conditional statement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;When the field&amp;nbsp;&lt;EM&gt;Needed&lt;/EM&gt; is Yes, ramp fields are enabled/disabled based on the&amp;nbsp;&lt;EM&gt;Corner_Type&lt;/EM&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If &lt;EM&gt;Corner_Type&lt;/EM&gt; is CD (Continuous Double) or ID (Island Double), &lt;EM&gt;Ramp1&lt;/EM&gt; and &lt;EM&gt;Ramp2&lt;/EM&gt; fields are enabled.&lt;/LI&gt;&lt;LI&gt;If &lt;EM&gt;Corner_Type&lt;/EM&gt; is D (Diagonal) then only &lt;EM&gt;Ramp1&lt;/EM&gt; is enabled.&lt;/LI&gt;&lt;LI&gt;If &lt;EM&gt;Corner_Type&lt;/EM&gt; is IT (Island Triple) or I (Incomplete) then all ramps are enabled.&lt;/LI&gt;&lt;LI&gt;If &lt;EM&gt;Corner_Type&lt;/EM&gt; is CS (Continuous Single) then all ramps are enabled&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to write out all of the above scenarios in just one function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Casey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 21:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780469#M5990</guid>
      <dc:creator>CaseyRagain</dc:creator>
      <dc:date>2017-08-22T21:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780470#M5991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you confirm that bullet point three and four are both meant to say 'enabled'?&lt;/P&gt;&lt;P&gt;If so, I'd try this and see if it works as you need.&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;"&gt;&lt;TH&gt;name&lt;/TH&gt;&lt;TH&gt;relevant&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;RAMP1&lt;/TD&gt;&lt;TD&gt;${NEEDED}='yes'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;RAMP2&lt;/TD&gt;&lt;TD&gt;${NEEDED}='yes' and ${CORNER_TYPE}!='D'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;RAMP3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;${NEEDED}='yes' and ${CORNER_TYPE}!='D' and ${CORNER_TYPE}!='CD'&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If bullet three or four is meant to disable all RAMPs, just add another ${CORNER_TYPE}!=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780470#M5991</guid>
      <dc:creator>RalphBeishline</dc:creator>
      <dc:date>2017-08-23T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780471#M5992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Small modification - RAMP3 also needs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;and ${CORNER_TYPE}!= 'ID'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;RAMP3 could also be expressed by the valid values (as there are 3 valid values and 3 invalid values); this is the pattern I would use if the number of invalid values is larger than the number of valid values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;${NEEDED}='yes' and (${CORNER_TYPE}='IT'&amp;nbsp;or&amp;nbsp;${CORNER_TYPE}='CS'&amp;nbsp;or&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;${CORNER_TYPE}='I')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 20:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780471#M5992</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-08-23T20:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780472#M5993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James's reply is one way to do it. Here is another approach. Both should work for you.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/368686_pastedImage_1.png" style="width: 620px; height: 114px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 18:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-conditional-statement/m-p/780472#M5993</guid>
      <dc:creator>deleted-user-qzyyiYme1rz9</dc:creator>
      <dc:date>2017-08-25T18:47:37Z</dc:date>
    </item>
  </channel>
</rss>

