<?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: Two way choice filter in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795041#M9256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doug,&lt;/P&gt;&lt;P&gt;This is exactly how I set it up as an interim solution. Thanks for the reply!&lt;/P&gt;&lt;P&gt;-pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 17:32:18 GMT</pubDate>
    <dc:creator>peterbrad2</dc:creator>
    <dc:date>2018-06-27T17:32:18Z</dc:date>
    <item>
      <title>Two way choice filter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795038#M9253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Lets say I have two questions in my survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select One: Species Scientific Name&lt;/P&gt;&lt;P&gt;Select One: Species Common Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to select either question&amp;nbsp;depending on my knowledge of the species&amp;nbsp;and have the other populated with its corresponding name. For example, say I find a species while doing field work and I know its common name, but I cant recall its scientific name, it will automatically fill in the scientific name if I select the common name. I'd also like to be able to do it in reverse. For example, say I find a species while doing field work and I know its scientific name, but I can't recall its common name, it would automatically fill in the common name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 18:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795038#M9253</guid>
      <dc:creator>peterbrad2</dc:creator>
      <dc:date>2018-06-20T18:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Two way choice filter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795039#M9254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked into &lt;STRONG&gt;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data"&gt;pulldata()&lt;/A&gt;&lt;/STRONG&gt;? You can probably set up pulldata() calculations on both questions that look up the other's answer in a table and pick the correct corresponding names. Selecting a scientific name should look up and populate the common name, and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pulldata('NamesTable', 'SciName', 'ComName', ${ComName})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This formula, used as a calculation in your Scientific Name field, would populate the scientific name based on the common name you enter. 'SciName' and 'ComName' are fields in a csv you set up (NamesTable.csv). To calculate your common named based on the scientific name, just flip it around:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pulldata('NamesTable', 'ComName', 'SciName', ${SciName})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if, for some reason, the two questions and their calculations don't play nice with eachother (you &lt;EM&gt;should&lt;/EM&gt; be able to calculate select_one questions &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2018/04/03/international-mine-awareness-day-27"&gt;as of 2.7&lt;/A&gt;, but I haven't tried this yet myself), then you can try a workaround where your initial name selection questions are fieldType NULL, and pulldata() is used to populate two read-only text fields that are then passed on in the schema.&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 style="width: 23%;"&gt;type&lt;/TH&gt;&lt;TH style="width: 18%;"&gt;name&lt;/TH&gt;&lt;TH style="width: 35.4583%;"&gt;calculation&lt;/TH&gt;&lt;TH style="width: 18%;"&gt;bind::esri:fieldType&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 23%;"&gt;select_one SciNames&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;SciName&lt;/TD&gt;&lt;TD style="width: 35.4583%;"&gt;&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;null&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 23%;"&gt;select_one ComNames&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;ComName&lt;/TD&gt;&lt;TD style="width: 35.4583%;"&gt;&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;null&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 23%;"&gt;text&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;SciNameText&lt;/TD&gt;&lt;TD style="width: 35.4583%;"&gt;pulldata('NamesTable', 'SciName', 'ComName', ${ComName})&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 23%;"&gt;text&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;ComNameText&lt;/TD&gt;&lt;TD style="width: 35.4583%;"&gt;pulldata('NamesTable', 'ComName', 'SciName', ${SciName})&lt;/TD&gt;&lt;TD style="width: 18%;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 19:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795039#M9254</guid>
      <dc:creator>NickDierks1</dc:creator>
      <dc:date>2018-06-25T19:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Two way choice filter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795040#M9255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my project I did my labels like this since while using the autocomplete style Survey123 will find string combos in the code or name just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typing in ABL or Hook would get you the first one on this list.&lt;/P&gt;&lt;TABLE height="304" width="808"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: 0px windowtext; width: 800px; background-color: transparent;"&gt;label&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ABLA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Abies lasiocarpa (Hook.) Nutt.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subalpine fir&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ACGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Acer glabrum Torr.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rocky Mountain maple&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ACMI2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Achillea millefolium L.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; common yarrow&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ACHY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Achnatherum hymenoides (Roem. &amp;amp; Schult.) Barkworth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Indian ricegrass&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ACNE9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Achnatherum nelsonii (Scribn.) Barkworth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Columbia needlegrass&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 800px; background-color: transparent;"&gt;ACRI8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Achnatherum richardsonii (Link) Barkworth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Richardson's needlegrass&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 20:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795040#M9255</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2018-06-25T20:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Two way choice filter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795041#M9256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doug,&lt;/P&gt;&lt;P&gt;This is exactly how I set it up as an interim solution. Thanks for the reply!&lt;/P&gt;&lt;P&gt;-pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 17:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795041#M9256</guid>
      <dc:creator>peterbrad2</dc:creator>
      <dc:date>2018-06-27T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Two way choice filter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795042#M9257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nick,&lt;/P&gt;&lt;P&gt;I might give this a try. Thanks for the reply!&lt;/P&gt;&lt;P&gt;-pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 17:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/two-way-choice-filter/m-p/795042#M9257</guid>
      <dc:creator>peterbrad2</dc:creator>
      <dc:date>2018-06-27T17:32:49Z</dc:date>
    </item>
  </channel>
</rss>

