<?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: Field Maps - Required Fields Not Working as Expected in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039435#M647</link>
    <description>&lt;P&gt;Thanks again,&amp;nbsp;@Anonymous User&amp;nbsp;for engaging on this stuff.&lt;BR /&gt;I've just invited 'arcgisfieldmaps' to join a group called 'ESRIFieldMapTesting'. Let me know how you'd like to proceed from here.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 18:57:56 GMT</pubDate>
    <dc:creator>CharliePhilbrick1</dc:creator>
    <dc:date>2021-03-22T18:57:56Z</dc:date>
    <item>
      <title>Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1029888#M486</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I have been using ArcGIS Field Maps mobile and have noticed that the fields I have setup as "Allow Null" = False, don't need to be filled out when i tap "Submit".&lt;/P&gt;&lt;P&gt;I setup the form for the layer using ArcGIS Field Maps web app and the fields have the "Required" marked as True.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_0-1614138740763.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6753i72351CEB2B097990/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_0-1614138740763.png" alt="Tolo__AdamTolo_0-1614138740763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Field Maps mobile app, I have the asterisk next to the field indicating that the field is a required field.&lt;/P&gt;&lt;P&gt;In Beta, I noticed that it was released in October:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_1-1614138964149.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6754i6BAA934C1581C2B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_1-1614138964149.png" alt="Tolo__AdamTolo_1-1614138964149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is anybody else experiencing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 03:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1029888#M486</guid>
      <dc:creator>Tolo__AdamTolo</dc:creator>
      <dc:date>2021-02-24T03:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038876#M635</link>
      <description>&lt;P&gt;I too am experiencing this. I published the service I'm using from ArcGIS Pro and while the expected fields shows up in field maps with the '*' indicating that it is required I can Submit features without even touching those fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps related issue: I have two fields that have no default value set that are populating in field maps as '0' (zero). Strange behavior. Worse, this is behavior that undermines what I consider to be essential functionality of the app and underlying stack - this is a key way that we maintain data quality in our field collection efforts.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If anyone has some insight for&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/310857"&gt;@Tolo__AdamTolo&lt;/a&gt;&amp;nbsp;and me, please pass it on!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038876#M635</guid>
      <dc:creator>CharliePhilbrick1</dc:creator>
      <dc:date>2021-03-19T21:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038900#M636</link>
      <description>&lt;P&gt;Can you check your feature layer templates (specifically the layer definition json)? It's possible that the default values for those fields are set to empty strings or 0 instead of null. Since there technically is a value applied by default, the submit button will allow you submit the feature.&lt;/P&gt;&lt;P&gt;You will not be able to see this difference in Field Maps web - you have to look at the layer definition (json). There is also a &lt;A href="https://github.com/Esri/collector-tools/blob/master/CollectorUtils/pro/ResetRequiredFields.md" target="_self"&gt;script&lt;/A&gt; for Collector (but it applies here too) that can change those value to null. Field Maps web does not inspect the default values of the template, it only checks the nullability of the field.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 00:11:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038900#M636</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-20T00:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038928#M637</link>
      <description>&lt;P&gt;Thanks for your quick reply, Aaron.&lt;BR /&gt;Digging in to the json sounds like good actionable advice, however when I attempt to access the REST endpoint for the service, I get a 'Token Required' error.&lt;BR /&gt;Would it be helpful to share this AGO item with you? I don't know what all you need to know about my account and how this service was created, but here's a little: I created it in Pro and shared as a web layer to my organizational account where I have a Creator account type. I'm happy to provide more details if they could help me past this Token-related roadblock.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Charlie&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 03:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1038928#M637</guid>
      <dc:creator>CharliePhilbrick1</dc:creator>
      <dc:date>2021-03-20T03:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039145#M639</link>
      <description>&lt;P&gt;So the default value is null:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_0-1616370579886.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9044iD95C9A11E805E16A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_0-1616370579886.png" alt="Tolo__AdamTolo_0-1616370579886.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Interestingly, when I click on the field, I have noticed that little number '1' in the right hand side. If I back space, I then am not able to submit the sighting before completion.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_1-1616370969691.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9045i3FF6C903E8A9A1D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_1-1616370969691.png" alt="Tolo__AdamTolo_1-1616370969691.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_2-1616371004211.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9046i3A0C9BE1AB18CD0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_2-1616371004211.png" alt="Tolo__AdamTolo_2-1616371004211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looks like there is an empty space.&lt;/P&gt;&lt;P&gt;Also my fields that have domains and are not free text behave the same. I can submit a feature without filling out the required field but if I select one of the domain values and then go back to selecting no value, then I can't submit the feature.&lt;/P&gt;&lt;P&gt;Looks like a bug to me?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 00:01:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039145#M639</guid>
      <dc:creator>Tolo__AdamTolo</dc:creator>
      <dc:date>2021-03-22T00:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039284#M644</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/310857"&gt;@Tolo__AdamTolo&lt;/a&gt;The first screenshot you sent is looking at the field default value. Collector and Field Maps uses the default value store in the "templates" property, not the fields default value. The behavior you are seeing does align with my hypothesis regarding your templates.&lt;/P&gt;&lt;P&gt;This is where you need to check (you may have multiple templates within the "types" array):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronPulver_0-1616422052291.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9074iD4DABAB5C8F3DD9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronPulver_0-1616422052291.png" alt="AaronPulver_0-1616422052291.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/389780"&gt;@CharliePhilbrick1&lt;/a&gt;Yes if you and/or &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/310857"&gt;@Tolo__AdamTolo&lt;/a&gt; want to share your layers with me you can add the map and layers to a group and then invite the "arcgisfieldmaps" username to that group.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 14:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039284#M644</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-22T14:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039435#M647</link>
      <description>&lt;P&gt;Thanks again,&amp;nbsp;@Anonymous User&amp;nbsp;for engaging on this stuff.&lt;BR /&gt;I've just invited 'arcgisfieldmaps' to join a group called 'ESRIFieldMapTesting'. Let me know how you'd like to proceed from here.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 18:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039435#M647</guid>
      <dc:creator>CharliePhilbrick1</dc:creator>
      <dc:date>2021-03-22T18:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039551#M651</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;you are right.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_0-1616450606747.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9135i8793F2C9B2E06DB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_0-1616450606747.png" alt="Tolo__AdamTolo_0-1616450606747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So my question is where did this get set? I definitely did not set it up like this.&lt;/P&gt;&lt;P&gt;I will have a bit of a play around and report back.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 22:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039551#M651</guid>
      <dc:creator>Tolo__AdamTolo</dc:creator>
      <dc:date>2021-03-22T22:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039560#M652</link>
      <description>&lt;P&gt;Templates can be defined in ArcMap or Pro and then will be published as part of the feature service. You can manage templates in two places in ArcGIS Online:&lt;/P&gt;&lt;P&gt;1. In &lt;A href="https://doc.arcgis.com/en/field-maps/android/help/configure-the-map.htm" target="_self"&gt;Field Maps web&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. In &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-feature-templates.htm" target="_self"&gt;Map Viewer (Classic)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In Field Maps web if you open the map and select the layer, then select the &lt;STRONG&gt;Templates&lt;/STRONG&gt; tab you can configure the default values for each attribute for each template. If you click on an attribute, you can backspace to remove the empty values and then when you &lt;STRONG&gt;Save&lt;/STRONG&gt; the layer it will write &lt;EM&gt;null&lt;/EM&gt; to the feature layer template default value(s), which is what you want in this case. The same thing applies for numeric fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronPulver_0-1616453848448.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9139iF98612DFE370AB20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronPulver_0-1616453848448.png" alt="AaronPulver_0-1616453848448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have many layers that you want to fix, you can use this &lt;A href="https://github.com/Esri/collector-tools/blob/master/CollectorUtils/pro/ResetRequiredFields.md" target="_self"&gt;script/toolbox&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/389780"&gt;@CharliePhilbrick1&lt;/a&gt;I checked your layer and you have the same problem.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 22:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039560#M652</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-22T22:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039585#M653</link>
      <description>&lt;P&gt;Ohhhh. Thanks that clears things up a lot&amp;nbsp;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;So by default, after publishing, I need to go through and adjust this template? FieldMaps web seems to have put in spaces for free text fields and for the fields with domain lists, I have to select the value "Not selected" so that message "must match one of the options" does not show up.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tolo__AdamTolo_0-1616455710872.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9144i98CDFC9106864E13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tolo__AdamTolo_0-1616455710872.png" alt="Tolo__AdamTolo_0-1616455710872.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would think it would default to these from the start?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 23:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1039585#M653</guid>
      <dc:creator>Tolo__AdamTolo</dc:creator>
      <dc:date>2021-03-22T23:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1041209#M685</link>
      <description>&lt;P&gt;I finally got the chance to try this out today and it worked like a charm. Thanks for all your help, @Anonymous User&amp;nbsp;. Pointing me to the ability to edit those templates in Field Maps Web was particularly good as I had still not taken the time to check out that interface and I think it will serve me well moving forward.&lt;BR /&gt;I did experience some of the same frustration and/or confusion that&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/310857"&gt;@Tolo__AdamTolo&lt;/a&gt;&amp;nbsp; mentioned there, namely that for non-nullable fields with a domain and without a default value I had to change each one to 'Not Selected' before I was able to save my changes to the template. This is not a big problem, but I agree with Adam that it's not the behavior I expected.&lt;BR /&gt;Onward!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 20:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1041209#M685</guid>
      <dc:creator>CharliePhilbrick1</dc:creator>
      <dc:date>2021-03-26T20:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps - Required Fields Not Working as Expected</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969</link>
      <description>&lt;P&gt;I think this one is getting me today.&amp;nbsp; Maps we had for a few years now no longer forcing the required fields all of a sudden.&amp;nbsp; I am using all Map Viewer Classic. I have not touched anything in Field Maps web.&amp;nbsp; Just a straight publish from a GDB in ArcMap.&lt;/P&gt;&lt;P&gt;I tried the process posted to update the template but it did not make a change.&lt;/P&gt;&lt;P&gt;I see the space in templates.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1656435031159.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44668iDF831EA016DAC2D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1656435031159.png" alt="DougBrowning_0-1656435031159.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I go to fix it in templates it has no space.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_1-1656435064693.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44669i83C4BE8B7004A1A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_1-1656435064693.png" alt="DougBrowning_1-1656435064693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried adding and then removing a space and a few other things but it still stays with the space in the JSON.&lt;/P&gt;&lt;P&gt;Nullable is set correctly&lt;/P&gt;&lt;P&gt;LOCAL_ID (type: esriFieldTypeString, alias: LOCAL_ID, SQL Type: sqlTypeOther, length: 255, nullable: false, editable: true)&lt;/P&gt;&lt;P&gt;I then tried the linked script but we have 2 factor so it fails.&amp;nbsp; Not sure why it would ask for a un/pass when it can just use the Pro login.&lt;/P&gt;&lt;P&gt;Unable to generate token.&lt;BR /&gt;Invalid username or password.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;So now I am stuck.&amp;nbsp; Only some of my services are doing this.&amp;nbsp; Maybe a diff between publishing with Pro or ArcMap. Is this some new bug?&amp;nbsp; If so is it getting fixed?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 18:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-06-28T18:09:07Z</dc:date>
    </item>
  </channel>
</rss>

