# Text Search Block

*Article Topics:* [*Blocks*](https://docs.toomuchmedia.com/getting-started/common-topics/blocks)*,* [*Design*](https://docs.toomuchmedia.com/getting-started/common-topics/design)

## Overview

The Text Search Block adds a simple search bar to your page, helping visitors or members find content, models and other metadata using keywords. This block is a useful way of improving user navigation when they already know the type of content they are looking for.

Searches can be done using terms found in titles, descriptions, metadata and more.

{% embed url="<https://youtu.be/XKgr--Zf2Kg>" %}

## Text Search Block Settings

### Design Tab

The **Form** section of the Design contains the most important feature of the search block: Sending the user to a destination.

This field determines where the visitor will be taken after submitting a search query. You can configure the block in two main ways:&#x20;

1. **Search results on the same page**

If the destination is set to the current page, the content list below the search bar will dynamically update with results matching the search term.&#x20;

For example, on a page like "Videos" where you have a Set List Block with no filter set to display all your video content, you can place the Text Search Block at the top and use it to filter the content list below. Typing a model name will narrow the results without changing the page URL.

2. **Redirect to another page with results**

If the destination is set to a different page, the visitor will be redirected after submitting the search. The destination page will receive the search term in the URl and filter content accordingly.&#x20;

For example, a Text Search Block on the homepage might have its destation set to the Videos page. Searching for a model on the homepage will then send the visitor to the videos page with the following in the URL as an example:

```
/videos?query=RuthReynolds
```

This allows you to create dedicated search flows that match your theme layout and improve navigation between landing pages and result pages.&#x20;

## Related Articles

{% content-ref url="" %}
[](https://docs.toomuchmedia.com/content-management/member-areas-and-tours/themes/block-types)
{% endcontent-ref %}

{% content-ref url="../pages" %}
[pages](https://docs.toomuchmedia.com/content-management/member-areas-and-tours/themes/pages)
{% endcontent-ref %}


---

# 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://docs.toomuchmedia.com/content-management/member-areas-and-tours/themes/block-types/text-search-block.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.
