Currently have a Web Applications deployed and have been receiving critiques from users. One of their suggestions was within the query widget instead of having to "click" the green "Execute" button if that could be changed to run once pressing the "Enter" key. I have been searching everywhere for some sort of discussion that would help me with this task to no avail. I figured ESRI would have this already built into Web App Builder but that doesnt seem to be the case. Any help with this on where/how to modify my widgets code in order for this task to be performed.
Adding something like that would seem to assume that the client will mainly be using a SQL portion of the widget (i.e. entering a value in a input box and pressing enter when that input box has focus will trigger the execute button. Because the widget is quite advanced/complicated, allowing for the user to draw a graphic on the map or have multiple query parameter inputs and dealing with those causes significantly more code consideration. Sometimes a client simple want is seriously complicated.
Thanks you for your thorough reply. I am actually going to implement your Enhanced Search widget that you created. This will give me the result i am looking for when the user is running a search. With your widget they are able to hit "enter" and execute their search vs the query widget that only has the option of "upon click" to run the search. This widget is great! There are a lot of other searches we are now capable of running with this custom widget.