<?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: If Statement Dependency Cycle in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348700#M52802</link>
    <description>&lt;P&gt;Usually use the 3 fields trick here.&amp;nbsp; One to calc from the layer, one to calc inside the form, and the third field to pick which one to use.&amp;nbsp; You can set the bind esri to null on the first two fields so that they do not show up in the backend data.&lt;/P&gt;&lt;P&gt;Hope that makes sense&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 15:30:55 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2023-11-13T15:30:55Z</dc:date>
    <item>
      <title>If Statement Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348577#M52794</link>
      <description>&lt;P&gt;Hi I m running to a dependency cycle following an if statmenet logic.&lt;/P&gt;&lt;P&gt;Maybe someone has an idea of how I can skip this?&lt;/P&gt;&lt;P&gt;I have a feature layer that has a field named "DFCode".&lt;/P&gt;&lt;P&gt;The layer contains several entries with the "DFCode" populated on each.&lt;/P&gt;&lt;P&gt;The survey form will have inbox enabled.&lt;/P&gt;&lt;P&gt;So I want the form to call and populate the "DFCode" field with the value in the feature layer (if it exists)&amp;nbsp;&lt;STRONG&gt;or&lt;/STRONG&gt; have the user calculate it via the form.&lt;/P&gt;&lt;P&gt;I have manage to do each of the statements seperately but not both.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 09:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348577#M52794</guid>
      <dc:creator>Cyprus_Forest_Department</dc:creator>
      <dc:date>2023-11-13T09:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348700#M52802</link>
      <description>&lt;P&gt;Usually use the 3 fields trick here.&amp;nbsp; One to calc from the layer, one to calc inside the form, and the third field to pick which one to use.&amp;nbsp; You can set the bind esri to null on the first two fields so that they do not show up in the backend data.&lt;/P&gt;&lt;P&gt;Hope that makes sense&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 15:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348700#M52802</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-11-13T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348912#M52809</link>
      <description>&lt;P&gt;Would this work? See below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1699908701884.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85850i73AB18605EE0F398/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1699908701884.png" alt="IsmaelChivite_0-1699908701884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the dfcode exists in the inbox record, it will be populated. Otherwise, the user needs to enter it (required question) using the numbers appearance. The input mask is set to make sure the user-entered 3 digit number has F for prefix.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 20:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1348912#M52809</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-11-13T20:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1349105#M52827</link>
      <description>&lt;P&gt;Thank you both gentlemen for the swift replies. The approach from&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;suited best to my case. It was simpler than I imagined.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 11:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statement-dependency-cycle/m-p/1349105#M52827</guid>
      <dc:creator>Cyprus_Forest_Department</dc:creator>
      <dc:date>2023-11-14T11:54:01Z</dc:date>
    </item>
  </channel>
</rss>

