# Ajax Filter Submit

**Button to apply filters when using "Submit" mode.**

Use this when you want users to select multiple filters before applying them all at once.

**Content Settings**

| Setting        | Description                            |
| -------------- | -------------------------------------- |
| **Query Name** | Must match your Main Query             |
| **Text**       | Button text (default: "Apply filters") |

**Design Settings**

* Layout margin/padding
* Button style (primary/secondary/custom)
* Full button design customization

**Usage Example**

```
1. Set all your Facets to "Apply On: Submit"
2. Add Ajax Filter Submit
3. Query Name: "blog-posts"
4. Text: "Apply Filters"
```


---

# 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.woohoo.dance/ajax-filters/elements/ajax-filter-submit.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.
