Knowledge Base

Trigger search via an URL

in Ajax Search Pro Tips Tags: automaticsearchtiggerurl

As of version 4.8.2 it is possible to automatically trigger a search by adding two parameters to an URL.

Let's assume that you have a search bar placed on the following url:

To trigger the search there, you need to append the asp_id and asp_s query variables. First of all, check the search instance ID, you need it:

After knowing the search ID, you can construct the URL:

Just change the asp_id=1 to the search ID and the asp_s=phrase to the search phrase desired.