<?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: Conditional Visibility - show question if a particular choice is selected in one or more other questions in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573083#M60721</link>
    <description>&lt;P&gt;You are putting the expression in the column called 'relevant' right?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 14:00:27 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2025-01-07T14:00:27Z</dc:date>
    <item>
      <title>Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572814#M60690</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have created a form and I need to set up conditional visibility that will show a question if 'arable' is selected in one or more previous questions.&lt;/P&gt;&lt;P&gt;Question - Farm Type&lt;/P&gt;&lt;P&gt;Question - Main Enterprise&lt;/P&gt;&lt;P&gt;Question - Other Enterprises&lt;/P&gt;&lt;P&gt;If 'Arable' is chosen for any of the above questions I want to show the question 'Crops Gown?'&amp;nbsp;&lt;/P&gt;&lt;P&gt;What expression do I need to use please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 16:31:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572814#M60690</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-06T16:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572816#M60691</link>
      <description>&lt;P&gt;It's all done using the 'relevant' column in Connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a good example of showing an 'issue comments' question with visibility dependent on either of 2 questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-relevant-field-based-on-value-from-more/td-p/841259" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey123-relevant-field-based-on-value-from-more/td-p/841259&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If your questions have multiple answers e.g. arable and pasture - then use the 'selected()' syntax&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/quot-relevant-quot-field-syntax-for-multiple/td-p/775051" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/quot-relevant-quot-field-syntax-for-multiple/td-p/775051&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 16:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572816#M60691</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-01-06T16:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572916#M60698</link>
      <description>&lt;P&gt;You can use their the &lt;STRONG&gt;relevant&lt;/STRONG&gt; or the &lt;STRONG&gt;body::esri:visible&lt;/STRONG&gt; column. They have the same visual effect, but their back-end process is different.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relevant&lt;/STRONG&gt; will hide something, and in doing so make it &lt;EM&gt;null&lt;/EM&gt;. Aka, if it's hidden, it doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;body::esri:visible &lt;/STRONG&gt;will just hide something (end of storey). Aka, if it's hidden, it &lt;U&gt;still exists&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;In either case, I highly recommend you use &lt;STRONG&gt;selected(${my_question},'Hello World')&lt;/STRONG&gt;. Yes, you can use &lt;STRONG&gt;${my_question}='Hello World'&lt;/STRONG&gt;, but that doesn't always work (e.g., for select_multiple), whereas the selected() approach is much more reliable.&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1736196161418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122795iE02FB32DE75DCD0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1736196161418.png" alt="abureaux_0-1736196161418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1572916#M60698</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2025-01-06T20:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573062#M60714</link>
      <description>&lt;P&gt;Hi. Thanks for your response. So I am aware of using the selected expression and have used this in other questions on my form,&amp;nbsp;but, want I am trying to do is to reference multiple questions in the selected expression e.g if 'arable' is selected in Farm_type, or or if 'arable' is selected in Main_farm_enterprise or if 'arable' is selected in Other_enterprises then show the question'what crops are grown?' (see screenshot below) Is that possible? I have tried various expressions like the following but always get errors&lt;/P&gt;&lt;P&gt;selected(${farm_type}, 'Arable') or selected(${Main_farm-enterprise}, 'Arable') or selected(${Other_enterprises}, 'Arable')&lt;/P&gt;&lt;P&gt;selected(${Farm_type}, 'Arable'or ${Main_farm_enterprise}, 'Arable' or ${Other_enterprises}, 'Arable')&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LouiseHarris1_0-1736247408393.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122824i0462D782218549DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LouiseHarris1_0-1736247408393.png" alt="LouiseHarris1_0-1736247408393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LouiseHarris1_1-1736248080695.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122825iC7AA72EF03C86B79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LouiseHarris1_1-1736248080695.png" alt="LouiseHarris1_1-1736248080695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 11:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573062#M60714</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-07T11:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573065#M60715</link>
      <description>&lt;P&gt;The error seems to reference crops_grown which doesn't seem to be related to this question.&amp;nbsp; I'd look for that expression and fix or remove it from xls.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The first xepression should work, aside from a dash instead of underscore typo in main_farm_enterprise.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;selected(${farm_type}, 'Arable') or selected(${Main_farm_enterprise}, 'Arable') or selected(${Other_enterprises}, 'Arable')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 11:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573065#M60715</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-01-07T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573066#M60716</link>
      <description>&lt;P&gt;Crops grown is the question I am writing the expression for - I only want this question to display if they select arable to any of the other 3 questions.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 11:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573066#M60716</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-07T11:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573068#M60717</link>
      <description>&lt;P&gt;Ah yes, apologies I read through too quickly.&amp;nbsp; Are you able to screenshot to include the relevant column and contents and copy past the exact cell content/expression into the thread?&lt;/P&gt;&lt;P&gt;It really seems like missing parentheses, syntax or spelling error - e.g.&amp;nbsp; I can also see farm_type instead of Farm_type&amp;nbsp; in the expression you shared previously (but am unsure if it is case sensitive).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 12:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573068#M60717</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-01-07T12:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573069#M60718</link>
      <description>&lt;P&gt;The overall syntax seems to be right, I would suspect spelling mistakes that make it fail to work as you expect it. Make sure to use the name, not the label, for the selection and double check the spelling of the question names especially upper/lower case. Do you still get an error or is it just now showing/hiding as expected?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 12:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573069#M60718</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2025-01-07T12:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573074#M60719</link>
      <description>&lt;P&gt;The second syntax is not correct. Selected() takes 2 parameters - the question name and the choice you are looking for. You cannot add anything extra. You need to combine 3 selected() functions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;selected(${Farm_type}, 'Arable') or selected(${Main_farm_enterprise}, 'Arable') or selected(${Other_enterprises}, 'Arable')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next thing to check is to ensure that you are using the name of the choices and not the Label value. Also, what column do you have your statement in, it should be in the Relevant or&amp;nbsp;body::esri:visible column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 13:24:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573074#M60719</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2025-01-07T13:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573080#M60720</link>
      <description>&lt;P&gt;Something about the expression is wrong, I just don't know what. I've changed case to match the name field and tried writing the expression in different ways but nothing is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LouiseHarris1_0-1736255035035.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122826i4EDDE3CBFEC4A403/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LouiseHarris1_0-1736255035035.png" alt="LouiseHarris1_0-1736255035035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 13:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573080#M60720</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-07T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573083#M60721</link>
      <description>&lt;P&gt;You are putting the expression in the column called 'relevant' right?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 14:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573083#M60721</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-01-07T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573088#M60722</link>
      <description>&lt;P&gt;I've got it working, like you said I was missing parentheses. Correct expression below.&lt;/P&gt;&lt;P&gt;(selected(${Farm_type},'Arable') or selected(${Main_farm_enterprise},'Arable') or selected(${Other_enterprises},'Arable'))&lt;/P&gt;&lt;P&gt;This post helped:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/relevant-expression-multiple-parameters/td-p/1224623" target="_blank"&gt;Relevant Expression - multiple parameters - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help David, it's much appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 14:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573088#M60722</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-07T14:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Visibility - show question if a particular choice is selected in one or more other questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573238#M60734</link>
      <description>&lt;P&gt;I managed to get it working,&amp;nbsp; I was missing parentheses. Correct expression below.&lt;/P&gt;&lt;P&gt;(selected(${Farm_type},'Arable') or selected(${Main_farm_enterprise},'Arable') or selected(${Other_enterprises},'Arable'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the quick responses and suggestions. Between them all I got it sorted.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 17:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-visibility-show-question-if-a/m-p/1573238#M60734</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2025-01-07T17:28:37Z</dc:date>
    </item>
  </channel>
</rss>

