<?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>idea field validation in javascript API attribute inspector in Developers Ideas</title>
    <link>https://community.esri.com/t5/developers-ideas/field-validation-in-javascript-api-attribute/idi-p/941749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The current attribute inspector dijit does not validate fields in a meaningful way. For example, if a feature service does not allow null values for a field it will not force the user to input a value because the "" != null. So effectively the field is left blank. It shouldn't be that hard to do validation since dojo provides validation via&amp;nbsp;&lt;A href="https://dojotoolkit.org/documentation/tutorials/1.10/validation/"&gt;https://dojotoolkit.org/documentation/tutorials/1.10/validation/&lt;/A&gt; or by wrapping a validationtextbox in a form widget. For me to code this up on my own requires me to write a completely custom attribute inspector which seems silly. Validation options could include valid email address, numbers, dates, etc.&amp;nbsp;

&lt;!-- content transformation source ID: 087E0000000kAjc --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 13:41:18 GMT</pubDate>
    <dc:creator>BrandonFlessner</dc:creator>
    <dc:date>2015-11-19T13:41:18Z</dc:date>
    <item>
      <title>field validation in javascript API attribute inspector</title>
      <link>https://community.esri.com/t5/developers-ideas/field-validation-in-javascript-api-attribute/idi-p/941749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The current attribute inspector dijit does not validate fields in a meaningful way. For example, if a feature service does not allow null values for a field it will not force the user to input a value because the "" != null. So effectively the field is left blank. It shouldn't be that hard to do validation since dojo provides validation via&amp;nbsp;&lt;A href="https://dojotoolkit.org/documentation/tutorials/1.10/validation/"&gt;https://dojotoolkit.org/documentation/tutorials/1.10/validation/&lt;/A&gt; or by wrapping a validationtextbox in a form widget. For me to code this up on my own requires me to write a completely custom attribute inspector which seems silly. Validation options could include valid email address, numbers, dates, etc.&amp;nbsp;

&lt;!-- content transformation source ID: 087E0000000kAjc --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 13:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-ideas/field-validation-in-javascript-api-attribute/idi-p/941749</guid>
      <dc:creator>BrandonFlessner</dc:creator>
      <dc:date>2015-11-19T13:41:18Z</dc:date>
    </item>
  </channel>
</rss>

