<?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: How to combine two or more conditional statement in one function? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835320#M19490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to nest your if/then statements: &lt;EM&gt;if(selected(${Q1},'A'),1, if(selected(${Q1},'B'),3,10))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will run your second if/then as the else case of your first if/then, and if neither condition is met, then the second else case is the final result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 14:49:16 GMT</pubDate>
    <dc:creator>NickDierks</dc:creator>
    <dc:date>2017-10-11T14:49:16Z</dc:date>
    <item>
      <title>How to combine two or more conditional statement in one function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835319#M19489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1. Select one question with answers A, B, C, D&lt;/P&gt;&lt;P&gt;Q2. integer or hidden question, calculate using conditional statement:&amp;nbsp;&lt;EM&gt;if(selected(${Q1},'A'),1,10) OR&amp;nbsp;if(selected(${Q1},'B'),3,10)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;giving points in Q2 depending on the response in Q1&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B=2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C,D =10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to combine this two conditional statement in one function?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835319#M19489</guid>
      <dc:creator>AdministratorAGOL_ODIMM</dc:creator>
      <dc:date>2017-10-11T14:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two or more conditional statement in one function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835320#M19490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to nest your if/then statements: &lt;EM&gt;if(selected(${Q1},'A'),1, if(selected(${Q1},'B'),3,10))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will run your second if/then as the else case of your first if/then, and if neither condition is met, then the second else case is the final result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835320#M19490</guid>
      <dc:creator>NickDierks</dc:creator>
      <dc:date>2017-10-11T14:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two or more conditional statement in one function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835321#M19491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works, thx a lot Nick!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 05:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-combine-two-or-more-conditional-statement/m-p/835321#M19491</guid>
      <dc:creator>AdministratorAGOL_ODIMM</dc:creator>
      <dc:date>2017-10-12T05:46:59Z</dc:date>
    </item>
  </channel>
</rss>

