<?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: Feature Report - If Statement for Group Name in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637919#M63599</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/629393"&gt;@aytlDEC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for sharing here. Instead of using ${if groupname}, I think you could use ${if &lt;SPAN&gt;fieldname&lt;/SPAN&gt;1InGroup || &lt;SPAN&gt;fieldname2&lt;/SPAN&gt;InGroup || ...}&lt;SPAN&gt;Group Label${/}. Then, the Group Label appears when there is at least one question that contains a value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ruth&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jul 2025 08:23:22 GMT</pubDate>
    <dc:creator>Ruth_JiatengXu</dc:creator>
    <dc:date>2025-07-31T08:23:22Z</dc:date>
    <item>
      <title>Feature Report - If Statement for Group Name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637657#M63588</link>
      <description>&lt;P&gt;I have a feature report going complete with if statements.&lt;/P&gt;&lt;P&gt;I wanted to hide questions (i.e., the label for a certain field in the form) when the user didn't select any options in the field or fill out the field at all, so the if statements for questions read, "${if fieldname}Field Label${/}".&lt;/P&gt;&lt;P&gt;I also wanted to hide repeat headings (i.e., the name of a repeat section in the form) when the repeat has nothing in it, so the if statement for those repeat sections read, "${if repeatname}Repeat Label${/}".&lt;/P&gt;&lt;P&gt;Is there a way to do the same for a non-repeat group? If I do "${if groupname}Group Label${/}" and try to load the report template to AGOL, I get an error that reads, "An error occurred when checking the report template. Failed to parse&amp;nbsp;&lt;EM&gt;${if groupname}&lt;/EM&gt; since&amp;nbsp;&lt;EM&gt;groupname&lt;/EM&gt; cannot be found in the current parsing scope." (I should probably mention that it doesn't seem to matter if the group I do this for is within or outside a repeat section -- I get the same error.)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 15:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637657#M63588</guid>
      <dc:creator>aytlDEC</dc:creator>
      <dc:date>2025-07-30T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report - If Statement for Group Name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637919#M63599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/629393"&gt;@aytlDEC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for sharing here. Instead of using ${if groupname}, I think you could use ${if &lt;SPAN&gt;fieldname&lt;/SPAN&gt;1InGroup || &lt;SPAN&gt;fieldname2&lt;/SPAN&gt;InGroup || ...}&lt;SPAN&gt;Group Label${/}. Then, the Group Label appears when there is at least one question that contains a value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ruth&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 08:23:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637919#M63599</guid>
      <dc:creator>Ruth_JiatengXu</dc:creator>
      <dc:date>2025-07-31T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report - If Statement for Group Name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637981#M63604</link>
      <description>&lt;P&gt;That would work if there were only a handful of questions -- if a group had a lot of questions, I take it there isn't a simpler way?&lt;/P&gt;&lt;P&gt;By the way, since I posted this yesterday, I came across another post that implies that this is some sort of error (&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-error-failed-to-parse/td-p/773859" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-error-failed-to-parse/td-p/773859&lt;/A&gt;). It seems like this has yet to be fixed then -- it doesn't really make sense for ${if ____} works for repeats and fields, but not groups.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 13:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-if-statement-for-group-name/m-p/1637981#M63604</guid>
      <dc:creator>aytlDEC</dc:creator>
      <dc:date>2025-07-31T13:40:31Z</dc:date>
    </item>
  </channel>
</rss>

