<?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 Survey123 Feature Report - Omit content if certain fields are empty in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334834#M52122</link>
    <description>&lt;P&gt;This feels like a simple issue but I just can't get the report to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I want to do is use an "if" statement to either show or not show certain text if a field contains any text at all.&lt;/P&gt;&lt;P&gt;This is my current&amp;nbsp; approach. The syntax is validated as being correct, but I still get the empty categories showing despite their not being any value against them.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Environment != ""}&lt;STRONG&gt;Environment&lt;/STRONG&gt; - ${Themes_Environment}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_People != ""}&lt;STRONG&gt;People&lt;/STRONG&gt; - ${Themes_People}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Economy != ""}&lt;STRONG&gt;Economy&lt;/STRONG&gt; - ${Themes_Economy}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Infrastructure != ""}&lt;STRONG&gt;Infrastructure&lt;/STRONG&gt; - ${Themes_Infrastructure}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 05:13:50 GMT</pubDate>
    <dc:creator>Spatialelement</dc:creator>
    <dc:date>2023-10-04T05:13:50Z</dc:date>
    <item>
      <title>Survey123 Feature Report - Omit content if certain fields are empty</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334834#M52122</link>
      <description>&lt;P&gt;This feels like a simple issue but I just can't get the report to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I want to do is use an "if" statement to either show or not show certain text if a field contains any text at all.&lt;/P&gt;&lt;P&gt;This is my current&amp;nbsp; approach. The syntax is validated as being correct, but I still get the empty categories showing despite their not being any value against them.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Environment != ""}&lt;STRONG&gt;Environment&lt;/STRONG&gt; - ${Themes_Environment}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_People != ""}&lt;STRONG&gt;People&lt;/STRONG&gt; - ${Themes_People}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Economy != ""}&lt;STRONG&gt;Economy&lt;/STRONG&gt; - ${Themes_Economy}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${if Themes_Infrastructure != ""}&lt;STRONG&gt;Infrastructure&lt;/STRONG&gt; - ${Themes_Infrastructure}${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 05:13:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334834#M52122</guid>
      <dc:creator>Spatialelement</dc:creator>
      <dc:date>2023-10-04T05:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Feature Report - Omit content if certain fields are empty</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334922#M52124</link>
      <description>&lt;P&gt;Does it work if you just put&amp;nbsp;&lt;EM&gt;${if Themes_Environment}&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- ${Themes_Environment}${/}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 14:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334922#M52124</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-10-04T14:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Feature Report - Omit content if certain fields are empty</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334928#M52126</link>
      <description>&lt;P&gt;I normally do what &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt; suggested for omitting empty fields, and it works very well (aka, I can't recall a case where it &lt;EM&gt;didn't&lt;/EM&gt; work off hand).&lt;/P&gt;&lt;P&gt;I don't believe that it is necessary, but as an alternative is you could try &lt;EM&gt;string-length&lt;/EM&gt;: &lt;STRONG&gt;if(string-length(${question_name})&amp;gt;0)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 14:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-omit-content-if-certain/m-p/1334928#M52126</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-10-04T14:21:10Z</dc:date>
    </item>
  </channel>
</rss>

