/* * when a value triggers a submit such as when Enter is pressed in text box * perform the search */ private function onSearchSubmitted(evt:Event):void { if(searchGroup.numElements == 1){ equeryFeaturesText(null); }else{ //If the search is valid then the searchBtn is enabled if(searchBtn.enabled){ equeryFeaturesText(null); }; }; }
/* * when a value triggers a submit such as when Enter is pressed in text box * perform the search */ private function onSearchSubmitted(evt:Event):void { // TODO: validate here? // if single value, then automatically submit // TODO: if >1 value and all are valid, then submit if(searchGroup.numElements == 1){ equeryFeaturesText(null); }; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.