<?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: Problem using multiple expressions in eSearch 3.1 in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550588#M15858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My personal preference would be the second option if it gives you tighter control. I always think it is better to have the most control you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 15:37:20 GMT</pubDate>
    <dc:creator>AnthonyGiles</dc:creator>
    <dc:date>2013-02-01T15:37:20Z</dc:date>
    <item>
      <title>Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550574#M15844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to upgrade my flex application to 3.1 and am having problems with the eSearch widget. I have a multiple expression search that worked fine at 2.5. When I upgraded to 3.1 and the newest eSearch widget the multiple expression automatically runs when I fill in the first value and I never have the oppurtunity to select the second value. I have tried all different combinations of isvaluerequired, all with the same result. Below is the config for this particular expression. Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;expression alias="Tie Lines" textsearchlabel="Select TO's to display tie lines..." isvaluerequired="true"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;values&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value prompt="Select Area..." isvaluerequired="true" userlist="AECI,AEPW,AMMO,CLEC,EES,EMDE,GMO,GRDA,INDN,KACY,KCPL,LAFA,LAGN,LEPA,LES,MEC,MIDW,NPPD,OKGE,OMPA,OPPD,SPRM,SPS,SUNC,SWPA,WAPA,WERE,WFEC"&amp;gt; UPPER(SDE.SPP_TIE_LINES.TIE_NAM) LIKE UPPER('%[value]%')&amp;lt;/value&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value prompt="Select Area..." isvaluerequired="true" userlist="AECI,AEPW,AMMO,CLEC,EES,EMDE,GMO,GRDA,INDN,KACY,KCPL,LAFA,LAGN,LEPA,LES,MEC,MIDW,NPPD,OKGE,OMPA,OPPD,SPRM,SPS,SUNC,SWPA,WAPA,WERE,WFEC" operator="AND"&amp;gt; UPPER(SDE.SPP_TIE_LINES.TIE_NAM) LIKE UPPER('%[value]%')&amp;lt;/value&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/values&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/expression&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 14:09:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550574#M15844</guid>
      <dc:creator>JustinFultz</dc:creator>
      <dc:date>2013-01-28T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550575#M15845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Justin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you clarify a little?&amp;nbsp; What do you mean by not having the opportunity to fill in the second value?&amp;nbsp; Are you saying that as soon as you "click" in the second box it is executing the search?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, in your example the "AND"&amp;nbsp; expression is the same thing as the first one so it is redundant.&amp;nbsp; basically, the way I read it is says if a=b AND a=b, then.....&amp;nbsp; Possibly doing an AND on the same criteria is confusing it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 19:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550575#M15845</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-28T19:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550576#M15846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Justin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Just to add to what Rhett has already said. You also do not need to use a like SQL expression (actually better not to) if you are using a userlist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your SQL should be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;SDE.SPP_TIE_LINES.TIE_NAM = '[value]'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 19:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550576#M15846</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-28T19:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550577#M15847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So let me explain a the situation a little better and maybe you can provide alternates for performing this operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, the query is performed as soon as I select a value in the first dropdown list. I never have the oppurtunity to have any interaction with the tool or keyboard after that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason the queries are the same and use "LIKE" is because the field is a concatenated field from the owner fields. In the table there is OWNER_1, OWNER_2, and TIE_NAM which is the concatenation of the two owner fields. TIE_NAM could have a value of AEPOGE or OGEAEP, either of which is a tie line between AEP and OGE. The only way to pull either combination is using "LIKE".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I now tested by performing a similar operation using different expressions with an = sign and still get the same behavior so I don't think it is necessarily related to the way the expressions are designed. However, I am open to any suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional infromation from further testing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only occurs when using a dropdown selection, regardless of if I define the values or if it uses unique values from a field. Immediately after selecting a value in either dropdown, the query runs. The tool functions properly when user is forced to enter values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 12:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550577#M15847</guid>
      <dc:creator>JustinFultz</dc:creator>
      <dc:date>2013-01-29T12:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550578#M15848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having the same issue. Basically if you have more than one field set up to search against using drop down lists as soon as you change the value in one list the query executes. You then have to go back to the text search window to select a value in the second list, and so on if you have many fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The desired effect that is required is that if there are multiple drop downs is that the query doesn't execute until you click the search button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked at your sample site and you do not have any queries set up this way, so you may not have noticed the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that makes sense&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550578#M15848</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-29T15:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550579#M15849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for reporting. As I have begun to use GitHub more (and esri has too), it would help me if you log issues/bugs there in the future for the eSearch Widget. &lt;/SPAN&gt;&lt;A href="https://github.com/rscheitlin/eSearch"&gt;https://github.com/rscheitlin/eSearch&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue will be addressed in Version 3.1.7&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 15:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550579#M15849</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-30T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550580#M15850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no problem using GitHub (in fact I just did ), but won't that make it difficult for us to give you your check marks for answering?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 16:05:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550580#M15850</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-30T16:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550581#M15851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rhett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are correct it may eliminate some MVP points I would have gotten, but it will definitely help me to track issues better. So may be people can do both.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 16:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550581#M15851</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-30T16:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550582#M15852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Version 3.1.7 - 1/30/2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Fixed issue with required fields and dropdownlist executing search before all required fields are completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Re-use a map layer token from the identify manager if the same layer is configured for a search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Honor gridfield and gridhyperlinkfield order set in the eSearchWidget.xml (add in order specified).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550582#M15852</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-30T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550583#M15853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert! Seems to work perfect now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 19:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550583#M15853</guid>
      <dc:creator>JustinFultz</dc:creator>
      <dc:date>2013-01-31T19:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550584#M15854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix you supplied works if you have more than one field set as required, but the problem still exists if the fields are not set to be required. In my case all fields are optional as I want the user to be able to search on what fields they would like to search on (this may be a single field or a combination). But the query still fires on change of a field if they are all set to not required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I have done is disabled the automatic query on change of drop down value, but in cases where there is only one field the automatic search would be good. So what I think the solution needs to be is either check if more than one drop down is set up for the search and then disable the automatic search or have a setting to each layer in the config that allows you to specify automatic search true or false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550584#M15854</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-02-01T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550585#M15855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I hear what you are saying and did consider that route, but decided that if a textbox or dropdown is Not required and all required fields have a value then the search will be executed when the user selects a value in the dropdown. It is hard to make this work for everyone's desires and situation as you want it one way and someone else is asking for something else. I do like the idea of a flag for autoexecuteonselection for all dropdowns. I will consider that approach in the next version if you think that will work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550585#M15855</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-02-01T14:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550586#M15856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if you would need a flag for autoexecuteonselection on each drop down or just one set for the whole expression. Either way would work but the later maybe easier to implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look forward to your solution if it makes the enhancement cut.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks again for all your effort,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 15:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550586#M15856</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-02-01T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550587#M15857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony and Others,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is code in the widget that follows this workflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Every expression value in the eSarchWidget.xml gets either a textbox or a dropdownlist created in the widgets GUI&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If it is a textbox an event is added to it looking for the enter key to be pressed and then fires the AutoSubmitSearch&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The AutoSubmitSearch fires off and a check is done to see if there is only one entry item (i.e. one textbox or one dropdownlist) and if true then the search is automatically submitted.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If there is more than one field in the GUI then it checks if the search button is enabled and if it is then the search is automatically submitted.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now the search button is disabled if all &lt;STRONG&gt;required&lt;/STRONG&gt; fields do not have a valid value.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If the expression requires a dropdownbox then it is give a change event listener and it fires the AutoSubmitSearch&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Step 3 thru 5 are repeated.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;So if you follow the workflow above it currently does not matter if it is a textbox and you click enter or a dropdown and you choose a value if the search button is enabled because all the required fields have valid values the search will be executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So I guess I explain all of this looking for input... If I add an autoexecute flag with true or false on the whole expression then that would control all the textboxes and the dropdowns in that expression and AutoSubmitSearch would or would not get fired based on that flag. Or I could put an optional autoexecute flag on each expression value so that you would have tighter control over each expression value and whether it individually fires the AutoSubmitSearch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And do you think the autoexecute should default to true or false is not provided in the xml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 15:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550587#M15857</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-02-01T15:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550588#M15858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My personal preference would be the second option if it gives you tighter control. I always think it is better to have the most control you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 15:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550588#M15858</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-02-01T15:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550589#M15859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would second the second option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;preference would be default to true.&amp;nbsp; would make it an obvious feature, but one could disable if not desired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 16:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550589#M15859</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-02-04T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using multiple expressions in eSearch 3.1</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550590#M15860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Version 3.1.8 - 2/5/2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Fixed Localization issue with export2csvoptionlabel and export2txtoptionlabel&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Added autosubmit to expression values to allow control over whether a dropdown list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; automatically fires the search upon selection and textbox when the enter key is pressed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The default is true if this attribute is not used.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-using-multiple-expressions-in-esearch-3-1/m-p/550590#M15860</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-02-05T20:40:22Z</dc:date>
    </item>
  </channel>
</rss>

