Next we will add a dropdown combo box, and a search button. This will provide basic functionality to search the download.com site from our toolbar.
You can test the new functionality by typing in some text and clicking the Search button.
To simplify the code, we have used the command tag. This enables us to call the search command from both the combo box control (when the returned key is pressed), or when the Search button is clicked.
To execute the command, we use the Command() function.
Note the %_QUERY% variable in the search command URL. The variable is used to reference the current value of the query control, in this case the search box.