<?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: Search widget as part of HTML form. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-as-part-of-html-form/m-p/1055713#M72992</link>
    <description>&lt;P&gt;You might have more luck using the SearchViewModel for this workflow:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 16:09:56 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2021-05-07T16:09:56Z</dc:date>
    <item>
      <title>Search widget as part of HTML form.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-as-part-of-html-form/m-p/1055593#M72982</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please assist / advise on how I could use the autocomplete search widget as part of a HTML form, in order to store the output result in a name attribute / value (please see example below)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form action= "/search" method="POST"&amp;gt; 

   &amp;lt;div id="searchDiv" name="location" placeholder="Search by city"&amp;gt;&amp;lt;/div&amp;gt;        
   
   &amp;lt;button type="submit"&amp;gt;Search&amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;
       
  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the below search widget:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/noash/pen/yLgmRWK?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/yLgmRWK?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 10:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-as-part-of-html-form/m-p/1055593#M72982</guid>
      <dc:creator>LouisCoetzee</dc:creator>
      <dc:date>2021-05-07T10:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget as part of HTML form.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-as-part-of-html-form/m-p/1055713#M72992</link>
      <description>&lt;P&gt;You might have more luck using the SearchViewModel for this workflow:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 16:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-as-part-of-html-form/m-p/1055713#M72992</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-05-07T16:09:56Z</dc:date>
    </item>
  </channel>
</rss>

