<?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 Feature attribute validation in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/feature-attribute-validation/m-p/22810#M166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to check the formats of some string fields while collecting or editing a feature in the ArcGIS Mobile for Windows app. If the format is incorrect then I need to alert the user that it needs to be fixed. Are there any examples of how this is done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott Dickison&lt;/P&gt;&lt;P&gt;Kentucky Transportation Cabinet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 13:50:06 GMT</pubDate>
    <dc:creator>ScottDickison</dc:creator>
    <dc:date>2015-06-18T13:50:06Z</dc:date>
    <item>
      <title>Feature attribute validation</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/feature-attribute-validation/m-p/22810#M166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to check the formats of some string fields while collecting or editing a feature in the ArcGIS Mobile for Windows app. If the format is incorrect then I need to alert the user that it needs to be fixed. Are there any examples of how this is done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott Dickison&lt;/P&gt;&lt;P&gt;Kentucky Transportation Cabinet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:50:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/feature-attribute-validation/m-p/22810#M166</guid>
      <dc:creator>ScottDickison</dc:creator>
      <dc:date>2015-06-18T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Feature attribute validation</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/feature-attribute-validation/m-p/22811#M167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know if you are still looking for an answer.&amp;nbsp; But one option would be to create an editing task or extension. If you work with a task you could connect to the closing event handler on the EditAttributesDialog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_ead = new EditAttributesDialog(m_feature);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_ead.Text = "Collect Feature";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_ead.Closing += new System.ComponentModel.CancelEventHandler(m_ead_Closing);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The in the closing event you could loop through the various fields in the feature and implement your checks.&amp;nbsp; If a check fails then you could show a message dialog with the error and then specify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e,Cancel = true;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which will return the user to the editattributesdialog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 19:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/feature-attribute-validation/m-p/22811#M167</guid>
      <dc:creator>KierenTinning2</dc:creator>
      <dc:date>2015-12-09T19:24:01Z</dc:date>
    </item>
  </channel>
</rss>

