<?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: Calculated, Non-Required field causing submission issues in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665493#M11937</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/416847"&gt;@luckachi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to show a screenshot of the submission and the failure? I do know sometimes that a required field will require something in it at least, in mine, I have an else condition at the end which gives a minus symbol or another mark that designated it wasn't entered.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
    <pubDate>Thu, 13 Nov 2025 16:04:27 GMT</pubDate>
    <dc:creator>CodyPatterson</dc:creator>
    <dc:date>2025-11-13T16:04:27Z</dc:date>
    <item>
      <title>Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665482#M11936</link>
      <description>&lt;P&gt;I have a field that is not required, but calculated and automatically set to read-only. The field is supposed to select an organization based on the logged in user. If the user doesn't have an associated organization, it should be null - however, the field just has a line through it and it is preventing data from being submitted even though the field isn't required?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It throws a "Failed to calculate" message and when I hit submit the message is "Unable to Submit - 1 attribute failed"&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 15:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665482#M11936</guid>
      <dc:creator>luckachi</dc:creator>
      <dc:date>2025-11-13T15:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665493#M11937</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/416847"&gt;@luckachi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to show a screenshot of the submission and the failure? I do know sometimes that a required field will require something in it at least, in mine, I have an else condition at the end which gives a minus symbol or another mark that designated it wasn't entered.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665493#M11937</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-11-13T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665508#M11938</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp; Sure thing!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20251113-110707.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143709iCAB7A6F27D3BF498/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_20251113-110707.png" alt="Screenshot_20251113-110707.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20251113-110704.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143710i484652E8DA1A1741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_20251113-110704.png" alt="Screenshot_20251113-110704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Logs:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20251113-111021.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143716i68137E821725F46A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_20251113-111021.png" alt="Screenshot_20251113-111021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems to work just fine in the web map and in experience builder and it doesn't throw any issues when I run it in the arcade builder&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665508#M11938</guid>
      <dc:creator>luckachi</dc:creator>
      <dc:date>2025-11-13T16:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665516#M11939</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/416847"&gt;@luckachi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see! This is exactly what happened to us as well, do you have these all enabled?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1763050240975.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143714i92E1F75597041B2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1763050240975.png" alt="CodyPatterson_0-1763050240975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should look like this here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_1-1763050249856.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143715i1CE391E5626206BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_1-1763050249856.png" alt="CodyPatterson_1-1763050249856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this in the map:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_2-1763050311463.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143717i77AEADC8EBFF6525/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_2-1763050311463.jpeg" alt="CodyPatterson_2-1763050311463.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does this match your current setup?&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665516#M11939</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-11-13T16:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665520#M11940</link>
      <description>&lt;P&gt;I wonder if this doesn't work in field maps - to get the logged in username?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;var user = GetUser();
var username = Lower(user.username);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665520#M11940</guid>
      <dc:creator>luckachi</dc:creator>
      <dc:date>2025-11-13T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665550#M11941</link>
      <description>&lt;P&gt;I do not&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-11-13 113834.png" style="width: 160px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143725i320AD971EFFCF0D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-11-13 113834.png" alt="Screenshot 2025-11-13 113834.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-11-13 113751.png" style="width: 269px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143726i0E30A54782BF4465/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-11-13 113751.png" alt="Screenshot 2025-11-13 113751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but interestingly enough I just changed my arcade script and added $layer into the var user line it worked. Not sure if that would cause any unintended issues.&lt;/P&gt;&lt;DIV&gt;var user = GetUser($layer);&lt;/DIV&gt;&lt;DIV&gt;var username = Lower(user.username);&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665550#M11941</guid>
      <dc:creator>luckachi</dc:creator>
      <dc:date>2025-11-13T16:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665562#M11943</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/416847"&gt;@luckachi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The syntax could definitely be it, this is what I have here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1763054422138.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/143728iF271282A7D65124B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1763054422138.png" alt="CodyPatterson_0-1763054422138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wonder if the GetUser function you were using was not able to find the origin layer to pull the name from!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 17:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1665562#M11943</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-11-13T17:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated, Non-Required field causing submission issues</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1666595#M11959</link>
      <description>&lt;P&gt;There is a known Field Maps defect with GetUser() where you need to specify the portalObject (i.e. the URL)&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/the-arcgis-arcade-getuser-function-does-not-work-in-arc-bug-000171374" target="_blank"&gt;https://support.esri.com/en-us/bug/the-arcgis-arcade-getuser-function-does-not-work-in-arc-bug-000171374&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;said this will work more reliably:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;fullName&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, only the username will be available offline. I would generally recommend against using fullName if there is any possibility that the maps will need to go offline as the calculation will fail and the edit will need to be discarded.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;username&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Nov 2025 03:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-non-required-field-causing-submission/m-p/1666595#M11959</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2025-11-18T03:52:10Z</dc:date>
    </item>
  </channel>
</rss>

