<?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: Robert's eSearch Widget: where is &amp;quot;The value entered in not valid&amp;quot; defined. in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802392#M5340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took me a lot of debugging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I commented out the whole section as you put above. Also I commented out this function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;_showValidationErrorTip: function (_dijit) {&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; if (!_dijit.validate() &amp;amp;&amp;amp; _dijit.domNode) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;if (_dijit.focusNode) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; _dijit.focusNode.focus();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; _dijit.focusNode.blur();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; } */&lt;/SPAN&gt;&lt;BR /&gt; },&lt;/P&gt;&lt;DIV style="color: #d4d4d4; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;P&gt;One last question here, how to get the value of the "wrong address" that user entered here?&lt;/P&gt;&lt;P&gt;This may be against the nature of your design. I am trying to let the user only enter a valid address, but in case they enter a non-existing address, we want to redirect them to a geocoding service to find the area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Robert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/460546_wrong.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Sep 2019 16:13:56 GMT</pubDate>
    <dc:creator>BingJing</dc:creator>
    <dc:date>2019-09-26T16:13:56Z</dc:date>
    <item>
      <title>Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802388#M5336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am trying to modify the eSearch Widget for our needs.&lt;/P&gt;&lt;P&gt;Please see attached screen photo. I want to allow address or APN that are not in the drop down list so that I can show a redirect message to link to google map.. Where is the string "The value entered in not valid"&amp;nbsp; defined?&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 23:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802388#M5336</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2019-09-23T23:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802389#M5337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is an internal dojo dijit validation error string from the dojo library.&lt;/P&gt;&lt;P&gt;It appears when I call this.stringCodedValuesFS.validate().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802389#M5337</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-09-24T12:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802390#M5338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, Thank you again for the hint.&lt;/P&gt;&lt;P&gt;I am trying to figure out how to allow people entering an address that is not on the auto-complete drop-down. Currently, when a wrong address is entered, the code stops at this function and did not go anywhere.&lt;/P&gt;&lt;P&gt;buildWhereClause: function (layerIndex, expressIndex, /* optional */theValue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 23:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802390#M5338</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2019-09-24T23:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802391#M5339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So in the SingleParameter.js find this code block and change it to do something else.&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #c586c0;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;stringCodedValuesFS&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;validate&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;())&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; &amp;nbsp; //this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;_showValidationErrorTip&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;stringCodedValuesFS&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c586c0;"&gt;&amp;nbsp; &amp;nbsp; //return&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; //add your own code here to handle an invalid entry.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 12:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802391#M5339</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-09-25T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802392#M5340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took me a lot of debugging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I commented out the whole section as you put above. Also I commented out this function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;_showValidationErrorTip: function (_dijit) {&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; if (!_dijit.validate() &amp;amp;&amp;amp; _dijit.domNode) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;if (_dijit.focusNode) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; _dijit.focusNode.focus();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; _dijit.focusNode.blur();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; } */&lt;/SPAN&gt;&lt;BR /&gt; },&lt;/P&gt;&lt;DIV style="color: #d4d4d4; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;P&gt;One last question here, how to get the value of the "wrong address" that user entered here?&lt;/P&gt;&lt;P&gt;This may be against the nature of your design. I am trying to let the user only enter a valid address, but in case they enter a non-existing address, we want to redirect them to a geocoding service to find the area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Robert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/460546_wrong.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802392#M5340</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2019-09-26T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's eSearch Widget: where is "The value entered in not valid" defined.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802393#M5341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I got it. The below call works.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this.stringCodedValuesFS.attr('displayedValue')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:19:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/robert-s-esearch-widget-where-is-quot-the-value/m-p/802393#M5341</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2019-09-26T16:19:00Z</dc:date>
    </item>
  </channel>
</rss>

