Hi, I would like the user to click on feature on map which opens a popup or info window where they enter in data. The data is then saved when user clicks button (or something). Is there a way to collect data this way? An example (or point me to an example) would be great, thanks!
Thanks Steve, I can easily create a popup using jquery to have the user enter data, what I liked about using a arcgis popup was that when you click on the map it may select more than one feature and the popup allows you to select the feature.
This sample uses a function to populate the content of the InfoWindow/Popup. The function returns HTML that is then populated in each InfoWindow when a feature is selected. Notice how a link ("Wikipedia Entry") is generated based on the feature selected.
This is an older sample (non-AMD) that is similar to the first sample but good for reference.
* *
If these samples are too simple for your ultimate needs, you should explore writing your own dijit to replace Popup in the context of your application. That's what I ended up having to do to.