# Success Message

Whether the form was successfully submitted is confirmed to the user in the standard case with a success message in the user interface. We check if this success message is displayed after sending or not.

It does not matter whether the success message is displayed on the same page or the user is redirected to a separate new page.

Just choose "Page contains text" in the section "Define successful test" and type a text string that appears in the success message on your page.

![Screenshot Formspector: Choose type of success feedback](/files/A7Syu3bp8Fss8ypdszPE)


---

# 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.formspector.com/fundamentals/success-message.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.
