<?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 Formula in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068903#M35294</link>
    <description>&lt;P&gt;You have a ( at the beginging and a ) and , in the wrong spots.&amp;nbsp; Also you need the else part on the last if.&amp;nbsp; I just gave it '' for now (this would be the case where nothing at all is selected).&lt;/P&gt;&lt;P&gt;if(selected(${VSMPSWPPP_SWPPP_MS1},'Compliant'), 'In Compliance',if(selected(${VSMPSWPPP_SWPPP_MS1},'Non-Compliant'), 'Non-Compliant Comment', if(selected(${VSMPSWPPP_SWPPP_MS1}, 'N/A'), 'SWPPP Not Inspected', '')))&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 14:32:42 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2021-06-16T14:32:42Z</dc:date>
    <item>
      <title>Survey123 Formula</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068899#M35293</link>
      <description>&lt;P&gt;I am trying to populate a comment box with a specific comment based off the answer from a multiple choice question. There are three total choices for the multiple choice, Compliant, Non-Compliant, No Comment. The formula I have come up with is below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="1495"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="1495"&gt;(if(selected(${VSMPSWPPP_SWPPP_MS1},'Compliant'), 'In Compliance',if(selected(${VSMPSWPPP_SWPPP_MS1},'Non-Compliant'), 'Non-Compliant Comment'), if(selected(${VSMPSWPPP_SWPPP_MS1}'N/A'), 'SWPPP Not Inspected'))))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 16 Jun 2021 14:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068899#M35293</guid>
      <dc:creator>JasonSimpson</dc:creator>
      <dc:date>2021-06-16T14:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068903#M35294</link>
      <description>&lt;P&gt;You have a ( at the beginging and a ) and , in the wrong spots.&amp;nbsp; Also you need the else part on the last if.&amp;nbsp; I just gave it '' for now (this would be the case where nothing at all is selected).&lt;/P&gt;&lt;P&gt;if(selected(${VSMPSWPPP_SWPPP_MS1},'Compliant'), 'In Compliance',if(selected(${VSMPSWPPP_SWPPP_MS1},'Non-Compliant'), 'Non-Compliant Comment', if(selected(${VSMPSWPPP_SWPPP_MS1}, 'N/A'), 'SWPPP Not Inspected', '')))&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 14:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068903#M35294</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-06-16T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068947#M35297</link>
      <description>&lt;P&gt;Perfect. Thanks for your prompt response.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 15:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula/m-p/1068947#M35297</guid>
      <dc:creator>JasonSimpson</dc:creator>
      <dc:date>2021-06-16T15:57:41Z</dc:date>
    </item>
  </channel>
</rss>

