<?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: Trouble with multiple If statements in Survey123 Connect  in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849655#M23029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #8b8b8b; font-weight: inherit; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="410085" data-objecttype="3" href="https://community.esri.com/people/clburnett_usfs" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 13.7136px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Coye Burnett&lt;/A&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Yes it is possible by set the relevant in the question&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;"Did you find the nest?"&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;selected(${UTMs_Accurate},'yes')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;and&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;selected(${nest_Active},'unknown')&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG class="image-1 jive-image" height="89" src="https://community.esri.com/legacyfs/online/496504_pastedImage_1.png" style="border: 0px; font-weight: inherit; margin: 2px 20px 0px;" width="936" /&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG class="image-2 jive-image" height="357" src="https://community.esri.com/legacyfs/online/496505_pastedImage_6.gif" style="border: 0px; font-weight: inherit; margin: 2px 20px 0px;" width="228" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2020 11:42:18 GMT</pubDate>
    <dc:creator>Hussam_AlJabri</dc:creator>
    <dc:date>2020-06-15T11:42:18Z</dc:date>
    <item>
      <title>Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849653#M23027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I'm new to coding for survey 123 and I was wondering if someone could help me out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm basically trying to create a check&amp;nbsp;on a goshawk survey form to prevent conflicting data being entered. I want this check to be based on the response choice from two separate "select one" labels. Here is the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the "yes" choice is selected for the "UTMs Accurate?" label, and the "unknown" choice is selected for the "Is nest Active?" label I want to be able generate a sub label with the question "Did you find the nest?" with a "yes" or "no" choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for a response prompt like this to be activated only when two choices from two separate labels are selected? Or am I better off just generating that response when only one of the choices is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 19:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849653#M23027</guid>
      <dc:creator>CoyeBurnett</dc:creator>
      <dc:date>2020-06-12T19:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849654#M23028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes easy.&amp;nbsp; if(q1=something and q2=something, yes, no)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849654#M23028</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-06-12T20:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849655#M23029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #8b8b8b; font-weight: inherit; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="410085" data-objecttype="3" href="https://community.esri.com/people/clburnett_usfs" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 13.7136px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Coye Burnett&lt;/A&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Yes it is possible by set the relevant in the question&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;"Did you find the nest?"&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;selected(${UTMs_Accurate},'yes')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;and&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;selected(${nest_Active},'unknown')&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG class="image-1 jive-image" height="89" src="https://community.esri.com/legacyfs/online/496504_pastedImage_1.png" style="border: 0px; font-weight: inherit; margin: 2px 20px 0px;" width="936" /&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG class="image-2 jive-image" height="357" src="https://community.esri.com/legacyfs/online/496505_pastedImage_6.gif" style="border: 0px; font-weight: inherit; margin: 2px 20px 0px;" width="228" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2020 11:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849655#M23029</guid>
      <dc:creator>Hussam_AlJabri</dc:creator>
      <dc:date>2020-06-15T11:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849656#M23030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that solved it! Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also having trouble with getting a constraint when dealing with multiple select_one categories to co-operate. This time I'm looking for a constraint only when both 'Yes' is selected in the 'UTMs_Accurate' field and when 'Unknown' is selected in the 'tree_tagged' field. So far with this formula: selected(${utm_acc},'Y_accurate'), selected(${tree_tag},'Unk_tag') I'm constraining everything BUT this combination, which is the opposite of what I want to do. Basically I'm trying to prohibit this combination without having to add every single combination but the one I'm trying to avoid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured that I probably need to include an "if" statement within this formula but everything that I have tried has just ended up either allowing all combinations or constraining all combinations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would so appreciate your help again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 19:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849656#M23030</guid>
      <dc:creator>CoyeBurnett</dc:creator>
      <dc:date>2020-06-23T19:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849657#M23031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share a snapshot of your xlsform so I will get you clearly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood that if you select "Yes" in (UTMs_Accurate) the second question should not select "Unknown".&lt;/P&gt;&lt;P&gt;if&amp;nbsp;my&amp;nbsp;understanding is correct.. &lt;SPAN&gt;You need to write this formula in the constraint column:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="497658" class="image-1 jive-image" height="45" src="https://community.esri.com/legacyfs/online/497658_pastedImage_1.png" style="border: 0px; margin: 2px 20px 0px;" width="689" /&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: none #f6f6f6; border-left: 2px solid #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P&gt;if(${utm_acc}='Y_accurate',${tree_tag}!='Unk_tag','k_tag')&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/497692_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 22:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849657#M23031</guid>
      <dc:creator>Hussam_AlJabri</dc:creator>
      <dc:date>2020-06-23T22:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849658#M23032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Hussam! That actually took care of it. I thought I had to include "selected" within the formula before the field names, which is what was causing me grief. But this formula works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 22:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849658#M23032</guid>
      <dc:creator>CoyeBurnett</dc:creator>
      <dc:date>2020-06-23T22:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with multiple If statements in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849659#M23033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm happy that works with you. Keep it up with the amazing application that let our organizations work smartly!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 05:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/trouble-with-multiple-if-statements-in-survey123/m-p/849659#M23033</guid>
      <dc:creator>Hussam_AlJabri</dc:creator>
      <dc:date>2020-06-24T05:02:10Z</dc:date>
    </item>
  </channel>
</rss>

