# Auto Populate - Automatic search results on initial page load

`Layout Options -> Search box Layout -> Auto Populate`

From version 4.8 (22. feb. 2016) the plugin supports automatic search results.

![](http://i.imgur.com/tBHFB7j.png)

By default this options is disabled.

![](http://i.imgur.com/KrQQUhj.png)

## Auto populate modes to choose from the list

* **Disabled** (default)
* **Enabled - Results for a search phrase** - You will be prompted to enter a search phrase you want to display the results for.
* **Enabled - Latest results** - Will display the latest results for an empty search phrase. The search configuration will not be ignored!

### Auto populate for an empty search phrase

This configuration will trigger the search with an empty search phrase, thus the results will be following the default [primary and secondary ordering](/general-settings/result-ordering.md).

![](/files/-LbbWMz6Xl5a9aCDf8oq)

## Results count

There is an additional field for results count, which is different from the non-automatic results count. It's useful if you want to display more or less results than the regular live search.

*Please keep this count **below 50**. A high results count can cause the browser to freeze or the ajax request to fail.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.ajaxsearchpro.com/layout-settings/auto-populate-automatic-search-results-on-initial-page-load.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
