<?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: is it possible to create input forms within pop-up's?  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67914#M5958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for example: .. I wouldn't code it exactly like this but its just to illustrate the concept at an easy level (and take note that dom.byID would require the relevant Dojo lib in the includes, alternatively, just use querySelector):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layer.popup.content = "html including form inputs, lets pretend there's an input with the ID of 'input'";&lt;/P&gt;&lt;P&gt;layer.popup.actions = [ { title: "Submit", id: "submit", className: "seri-icon-upload" } ];&lt;/P&gt;&lt;P&gt;layer.popup.on("trigger-action", function(event){&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (event.action.id === "submit") {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var x = dom.byID("submit").value;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... and ..?? do what ever else needs to be done with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 01:18:33 GMT</pubDate>
    <dc:creator>RolleyTickner</dc:creator>
    <dc:date>2016-11-30T01:18:33Z</dc:date>
    <item>
      <title>is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67909#M5953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to offer a user the possibility to insert some input values in a submit form in a pop-up. As far I saw just how to configure pop-up's to display some attributes or a chart, but is possible to create a form inside a pop-up? If not what would be the alternatives for submitting input data in a dialog? Some examples/tutorials on how to do this would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sorin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67909#M5953</guid>
      <dc:creator>SorinCiolofan1</dc:creator>
      <dc:date>2016-04-21T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67910#M5954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; As far as I know it is. Popups can have all kind of content Dijits, Widgets, Charts, Images, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67910#M5954</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-21T20:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67911#M5955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with arcgis online and with pop-up's from a layer. &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/195953_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Configure-pop up option does not show anything to create a form here. Do you know any example I can read on how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67911#M5955</guid>
      <dc:creator>SorinCiolofan1</dc:creator>
      <dc:date>2016-04-21T20:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67912#M5956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It is not going to be possible using the AGOL popup configurator. But you can add just about anything to a popup using the JS API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/infotemplate-amd.html" title="https://developers.arcgis.com/javascript/jsapi/infotemplate-amd.html"&gt;InfoTemplate | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67912#M5956</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-21T21:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67913#M5957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes mate it is perfectly possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set your popup.content to your designed HTML including the form elements. Then take advantage of the actions of the popup to process any user input on those form elements. Capture the values of the form elements by using the built in Dojo api or use native js querySelector to capture what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very doable, I just did it this morning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 01:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67913#M5957</guid>
      <dc:creator>RolleyTickner</dc:creator>
      <dc:date>2016-11-30T01:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to create input forms within pop-up's?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67914#M5958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for example: .. I wouldn't code it exactly like this but its just to illustrate the concept at an easy level (and take note that dom.byID would require the relevant Dojo lib in the includes, alternatively, just use querySelector):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layer.popup.content = "html including form inputs, lets pretend there's an input with the ID of 'input'";&lt;/P&gt;&lt;P&gt;layer.popup.actions = [ { title: "Submit", id: "submit", className: "seri-icon-upload" } ];&lt;/P&gt;&lt;P&gt;layer.popup.on("trigger-action", function(event){&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (event.action.id === "submit") {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var x = dom.byID("submit").value;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... and ..?? do what ever else needs to be done with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 01:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-create-input-forms-within-pop-up/m-p/67914#M5958</guid>
      <dc:creator>RolleyTickner</dc:creator>
      <dc:date>2016-11-30T01:18:33Z</dc:date>
    </item>
  </channel>
</rss>

