<?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: Auto-populate select_one using conditional if( with calculation in Survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840023#M20646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to make a slight update to the if statements.&amp;nbsp;Assuming the values fs1, fs2, and tw1 are text, they should have quotes so that they are not read as variables. I think it should be something like the following:&lt;/P&gt;&lt;P&gt;if(${locationID}='FS1','fs1',if(${locationID}='FS2','fs2',if(${locationID}='TW1','tw1','')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2019 16:13:33 GMT</pubDate>
    <dc:creator>BrittneyGibbons1</dc:creator>
    <dc:date>2019-08-23T16:13:33Z</dc:date>
    <item>
      <title>Auto-populate select_one using conditional if( with calculation in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840022#M20645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to auto-populate a select_one type (place) list by using if statement in calculate field based on geopoint location in geofence with data attributes successfully extracted from the polygon using Survey123 Connect. I am using the following conditions in an if statement within calculation column for select_one to try to auto-populate a selection based on locationID attribute&amp;nbsp;but it has been unsuccessful thus far. I have attached a snips of select_one place calculation and place choice list from the spreadsheet. Please let me know what I am missing, Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 19:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840022#M20645</guid>
      <dc:creator>GreggGreer</dc:creator>
      <dc:date>2019-08-22T19:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate select_one using conditional if( with calculation in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840023#M20646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to make a slight update to the if statements.&amp;nbsp;Assuming the values fs1, fs2, and tw1 are text, they should have quotes so that they are not read as variables. I think it should be something like the following:&lt;/P&gt;&lt;P&gt;if(${locationID}='FS1','fs1',if(${locationID}='FS2','fs2',if(${locationID}='TW1','tw1','')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 16:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840023#M20646</guid>
      <dc:creator>BrittneyGibbons1</dc:creator>
      <dc:date>2019-08-23T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate select_one using conditional if( with calculation in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840024#M20647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes values are text and I did miss adding quotes, thank you for catching it and for your assistance! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 22:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-populate-select-one-using-conditional-if-with/m-p/840024#M20647</guid>
      <dc:creator>GreggGreer</dc:creator>
      <dc:date>2019-08-23T22:20:32Z</dc:date>
    </item>
  </channel>
</rss>

