<?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: iOS required fields bug? in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192925#M3316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started a project in April and the required fields were working correctly in iOS then, but they are not now.&amp;nbsp; I have suspected ESRI broke something with an update, as we are using a hosted service.&amp;nbsp; This is a good clue.&amp;nbsp; I will test on Android and report back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 20:29:05 GMT</pubDate>
    <dc:creator>PaulCone</dc:creator>
    <dc:date>2015-09-15T20:29:05Z</dc:date>
    <item>
      <title>iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192924#M3315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m editing an AGOL-hosted related table in Collector 10.3.2 and the required fields seem to work in Android but not in iOS. One is a date field (pump date), one is a short integer (pump volume).&amp;nbsp; Although I set the default values of both to “” in the definition template, the pump date defaults to null and the pump volume defaults to 0 in iOS, but neither are required. Do you know how I can require them in iOS or is this a bug?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Android.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/121766_Android.png" style="height: auto;" /&gt;&lt;IMG alt="iOS.PNG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/121767_iOS.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 18:52:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192924#M3315</guid>
      <dc:creator>BenAller</dc:creator>
      <dc:date>2015-08-10T18:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192925#M3316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started a project in April and the required fields were working correctly in iOS then, but they are not now.&amp;nbsp; I have suspected ESRI broke something with an update, as we are using a hosted service.&amp;nbsp; This is a good clue.&amp;nbsp; I will test on Android and report back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 20:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192925#M3316</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-09-15T20:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192926#M3317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just had my colleague test this on his Android phone and it is not requiring the fields as it should, so I am suspecting this is not an iOS specific thing.&amp;nbsp; I did post about this on a thread earlier this year but I haven't heard anything since.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/532137"&gt;Re: Collector can't handle required fields, i.e. Nulls Not Allowed?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 17:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192926#M3317</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-09-21T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192927#M3318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to make a call to Esri Support Services? If this is in fact a bug, that would get another pair of eyes on the issue and be the quickest way to bring it to the development team's attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 20:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192927#M3318</guid>
      <dc:creator>ScottPrindle</dc:creator>
      <dc:date>2015-09-21T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192928#M3319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I emailed a Solution Engineer in the Olympia office who has seen my implementation and he said he's asked the development team about this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 20:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192928#M3319</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-09-21T20:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192929#M3320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same issue on iOS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 20:53:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192929#M3320</guid>
      <dc:creator>TroyProctor</dc:creator>
      <dc:date>2015-12-14T20:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192930#M3321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Troy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of Collector for ArcGIS on iOS are you currently seeing this issue on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 23:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192930#M3321</guid>
      <dc:creator>ScottPrindle</dc:creator>
      <dc:date>2015-12-14T23:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192931#M3322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version 10.3.5. Which I think is the most recent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Troy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 13:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192931#M3322</guid>
      <dc:creator>TroyProctor</dc:creator>
      <dc:date>2015-12-15T13:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: iOS required fields bug?</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192932#M3323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone at ESRI gave me the following informal suggestion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Online and Collector use editing templates (which are defined in ArcMap).&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;Editing templates require a default value.&amp;nbsp; So, when you define a field with “Allow NULL Values” equals “No”, and do not specify a default value, then default values are added to the template when the service is created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;These default values are a space (“ “) for text fields, a zero (0) for numeric fields, and a date in 1899 for date fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;You can see this by creating a service with “Allow NULL Values” equals “No”, no default values, publish the service, and then have a look at the template section of the service REST URL JSON.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Development is aware of this issue and is working on a solution. However there is no target date. The challenge is that this issue is not limited to Collector – it really is an ArcGIS platform-wide issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;There really is no good workaround, but o&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;ne “workaround” that you may want to consider is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Specify default values for all fields (ArcMap will do this in the editing template if you don’t).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Use CAPS for required field names, so that it is more obvious for users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Set defaults for text fields to something like “REQUIRED”, and for numeric fields to something like -99.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;And then train your users that a field name in CAPS is required.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Another workaround, although risky and with its own issues is to edit the default values out of the template.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This blog and linked doc explains how to open up the REST URL JSON in admin mode:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2014/10/19/updating-hosted-feature-services-in-arcgis-online/"&gt;http://blogs.esri.com/esri/arcgis/2014/10/19/updating-hosted-feature-services-in-arcgis-online/&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;You need to be careful, as if you make a mistake you will corrupt the service. So make sure you can easily recreate the service!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For example, your service looks something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; "templates" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; "name" : "Required_Test", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description" : "", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "drawingTool" : "esriFeatureEditToolPoint", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "prototype" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; "attributes" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; "DOUBLE_R" : 0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TEXT_R" : " ", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DATE_R" : -2209161600000, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TEXTDOMAIN_R" : " "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Using the admin capability, go and delete all the attributes under that have a default field setup and change the last edit data to “”&amp;nbsp; (There is an issue with the last edit date at the top – if you don’t change it to "" you will get a validation error). The edited template section would look something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;"templates" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; "name" : "Required_Test", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description" : "", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "drawingTool" : "esriFeatureEditToolPoint", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "prototype" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; "attributes" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Here are the screenshots of the required fields. You will see the required text and the submit button disabled. After you fill out the fields and have a valid location the submit button will activate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This is a bit of a hack. What you will notice is that editing the template breaks the editing in ArcGIS Online."&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/ios-required-fields-bug/m-p/192932#M3323</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-12-15T17:19:47Z</dc:date>
    </item>
  </channel>
</rss>

