I have been trying to modify the attribute inspector to only include attributes on the drop down list that surround the feature that was clicked. This will help so that users make areas contiguously without breaks (making islands).
Here is my fiddle
I have tried using this method
selectQuery.spatialRelationship = Query.SPATIAL_REL_TOUCHES;
but I have not been successful.
Any help would be valuable.